Skip to contentSkip to conversation

power: supply: 88pm860x_battery: Remove unnecessary int for long long

PATCH In review Milan Djurovic 2 participants 2 messages Mar 27, 2021 – Apr 2, 2021 Power supply

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 power: supply: 88pm860x_battery: Remove unnecessary int for long long

Change 'long long int' to 'long long' because the int is unnecessary, as suggested by checkpatch.pl.

---
 drivers/power/supply/88pm860x_battery.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/power/supply/88pm860x_battery.c +2 -2
index 590da88a17a2..f3f3f8cd1a7f 100644
@@ -109,8 +109,8 @@ struct pm860x_battery_info {
 };
 
 struct ccnt {
-	unsigned long long int pos;
-	unsigned long long int neg;
+	unsigned long long pos;
+	unsigned long long neg;
 	unsigned int spos;
 	unsigned int sneg;
 
Signature · 1 line
2.31.0
#1 lore raw

Hi,

Quoted 5 lines · Milan Djurovic

Change 'long long int' to 'long long' because the int is unnecessary, as suggested by checkpatch.pl.

---

Thanks, queued.

-- Sebastian

Quoted 21 lines
 drivers/power/supply/88pm860x_battery.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/power/supply/88pm860x_battery.c +2 -2
index 590da88a17a2..f3f3f8cd1a7f 100644
@@ -109,8 +109,8 @@ struct pm860x_battery_info {
 };
 
 struct ccnt {
-	unsigned long long int pos;
-	unsigned long long int neg;
+	unsigned long long pos;
+	unsigned long long neg;
 	unsigned int spos;
 	unsigned int sneg;
 
Signature · 1 line
2.31.0