Skip to contentSkip to conversation

HID: logitech-hidpp: Fix syntax errors in comments

PATCH Applied Xiang wangx 2 participants 2 messages Jun 5, 2022 – Jun 8, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: logitech-hidpp: Fix syntax errors in comments

Delete the redundant word 'in'.

---
 drivers/hid/hid-logitech-hidpp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/hid-logitech-hidpp.c +1 -1
index 81de88ab2ecc..68f9e9d207f4 100644
@@ -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:
Signature · 1 line
2.36.1
maintainer Applied
#1 lore raw
Quoted 12 lines · Xiang wangx

Delete the redundant word 'in'.

---
 drivers/hid/hid-logitech-hidpp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/hid-logitech-hidpp.c +0 -0
index 81de88ab2ecc..68f9e9d207f4 100644

drivers/hid/hid-logitech-hidpp.c static int hidpp_battery_get_property(struct power_supply *psy, · line 1700

Quoted 8 lines
drivers/hid/hid-logitech-hidpp.c +1 -1
@@ -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.

Signature · 2 lines
Jiri Kosina
SUSE Labs