* [PATCH] power: supply: 88pm860x_battery: Remove unnecessary int for long long
@ 2021-03-27 7:36 Milan Djurovic
2021-04-02 12:16 ` Sebastian Reichel
0 siblings, 1 reply; 2+ messages in thread
From: Milan Djurovic @ 2021-03-27 7:36 UTC (permalink / raw)
To: sre; +Cc: linux-pm, Milan Djurovic
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(-)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] power: supply: 88pm860x_battery: Remove unnecessary int for long long
2021-03-27 7:36 [PATCH] power: supply: 88pm860x_battery: Remove unnecessary int for long long Milan Djurovic
@ 2021-04-02 12:16 ` Sebastian Reichel
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2021-04-02 12:16 UTC (permalink / raw)
To: Milan Djurovic; +Cc: linux-pm
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
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
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-02 12:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-27 7:36 [PATCH] power: supply: 88pm860x_battery: Remove unnecessary int for long long Milan Djurovic
2021-04-02 12:16 ` Sebastian Reichel
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.