diff mbox series

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

Message ID 20210327073605.7626-1-mdjurovic@zohomail.com
State Accepted
Commit 33ae8b03462e6cab130b505f97633feacf1743d0
Headers show
Series power: supply: 88pm860x_battery: Remove unnecessary int for long long | expand

Commit Message

Milan Djurovic March 27, 2021, 7:36 a.m. UTC
Change 'long long int' to 'long long' because the int is unnecessary,
as suggested by checkpatch.pl.

Signed-off-by: Milan Djurovic <mdjurovic@zohomail.com>
---
 drivers/power/supply/88pm860x_battery.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Sebastian Reichel April 2, 2021, 12:16 p.m. UTC | #1
Hi,

On Sat, Mar 27, 2021 at 12:36:05AM -0700, Milan Djurovic wrote:
> Change 'long long int' to 'long long' because the int is unnecessary,

> as suggested by checkpatch.pl.

> 

> Signed-off-by: Milan Djurovic <mdjurovic@zohomail.com>

> ---


Thanks, queued.

-- Sebastian

>  drivers/power/supply/88pm860x_battery.c | 4 ++--

>  1 file changed, 2 insertions(+), 2 deletions(-)

> 

> diff --git a/drivers/power/supply/88pm860x_battery.c b/drivers/power/supply/88pm860x_battery.c

> index 590da88a17a2..f3f3f8cd1a7f 100644

> --- a/drivers/power/supply/88pm860x_battery.c

> +++ b/drivers/power/supply/88pm860x_battery.c

> @@ -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;

>  

> -- 

> 2.31.0

>
diff mbox series

Patch

diff --git a/drivers/power/supply/88pm860x_battery.c b/drivers/power/supply/88pm860x_battery.c
index 590da88a17a2..f3f3f8cd1a7f 100644
--- a/drivers/power/supply/88pm860x_battery.c
+++ b/drivers/power/supply/88pm860x_battery.c
@@ -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;