* [PATCH] HID: logitech-hidpp: Fix syntax errors in comments
@ 2022-06-05 8:43 Xiang wangx
2022-06-08 9:58 ` Jiri Kosina
0 siblings, 1 reply; 2+ messages in thread
From: Xiang wangx @ 2022-06-05 8:43 UTC (permalink / raw)
To: jikos; +Cc: benjamin.tissoires, lains, linux-input, linux-kernel, Xiang wangx
Delete the redundant word 'in'.
Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
drivers/hid/hid-logitech-hidpp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
index 81de88ab2ecc..68f9e9d207f4 100644
--- a/drivers/hid/hid-logitech-hidpp.c
+++ b/drivers/hid/hid-logitech-hidpp.c
@@ -1694,7 +1694,7 @@ static int hidpp_battery_get_property(struct power_supply *psy,
val->strval = hidpp->hid_dev->uniq;
break;
case POWER_SUPPLY_PROP_VOLTAGE_NOW:
- /* hardware reports voltage in in mV. sysfs expects uV */
+ /* hardware reports voltage in mV. sysfs expects uV */
val->intval = hidpp->battery.voltage * 1000;
break;
case POWER_SUPPLY_PROP_CHARGE_TYPE:
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] HID: logitech-hidpp: Fix syntax errors in comments
2022-06-05 8:43 [PATCH] HID: logitech-hidpp: Fix syntax errors in comments Xiang wangx
@ 2022-06-08 9:58 ` Jiri Kosina
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2022-06-08 9:58 UTC (permalink / raw)
To: Xiang wangx; +Cc: benjamin.tissoires, lains, linux-input, linux-kernel
On Sun, 5 Jun 2022, Xiang wangx wrote:
> Delete the redundant word 'in'.
>
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> ---
> drivers/hid/hid-logitech-hidpp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
> index 81de88ab2ecc..68f9e9d207f4 100644
> --- a/drivers/hid/hid-logitech-hidpp.c
> +++ b/drivers/hid/hid-logitech-hidpp.c
> @@ -1694,7 +1694,7 @@ static int hidpp_battery_get_property(struct power_supply *psy,
> val->strval = hidpp->hid_dev->uniq;
> break;
> case POWER_SUPPLY_PROP_VOLTAGE_NOW:
> - /* hardware reports voltage in in mV. sysfs expects uV */
> + /* hardware reports voltage in mV. sysfs expects uV */
> val->intval = hidpp->battery.voltage * 1000;
> break;
> case POWER_SUPPLY_PROP_CHARGE_TYPE:
Applied, thanks.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-08 10:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-05 8:43 [PATCH] HID: logitech-hidpp: Fix syntax errors in comments Xiang wangx
2022-06-08 9:58 ` Jiri Kosina
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.