diff mbox series

HID: logitech-hidpp: Fix syntax errors in comments

Message ID 20220605084343.10514-1-wangxiang@cdjrlc.com (mailing list archive)
State Mainlined
Commit 6431fd0151eca63d4c62c4e6bcc1913b5e26d028
Delegated to: Jiri Kosina
Headers show
Series HID: logitech-hidpp: Fix syntax errors in comments | expand

Commit Message

Xiang wangx June 5, 2022, 8:43 a.m. UTC
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(-)

Comments

Jiri Kosina June 8, 2022, 9:58 a.m. UTC | #1
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.
diff mbox series

Patch

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: