* [PATCH] Power: supply: abx500_chargalg.c: Fixed a code indentation error
@ 2019-10-15 16:13 ` madhuparnabhowmik04
0 siblings, 0 replies; 6+ messages in thread
From: madhuparnabhowmik04 @ 2019-10-15 16:13 UTC (permalink / raw)
To: sre; +Cc: linux-pm, linux-kernel, linux-kernel-mentees, Madhuparna Bhowmik
From: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com>
Fixed Code indentation error caused due to using spaces
instead of tabs.
The error reported by checkpatch.pl is:
ERROR: code indent should use tabs where possible
The warning reported by checkpatch.pl is:
WARNING: please, no spaces at the start of a line
Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com>
---
drivers/power/supply/abx500_chargalg.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/power/supply/abx500_chargalg.c b/drivers/power/supply/abx500_chargalg.c
index 23757fb10479..e6e37d4f20e4 100644
--- a/drivers/power/supply/abx500_chargalg.c
+++ b/drivers/power/supply/abx500_chargalg.c
@@ -354,13 +354,13 @@ static int abx500_chargalg_check_charger_enable(struct abx500_chargalg *di)
if (di->chg_info.charger_type & USB_CHG) {
return di->usb_chg->ops.check_enable(di->usb_chg,
- di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
- di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
+ di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
+ di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
} else if ((di->chg_info.charger_type & AC_CHG) &&
!(di->ac_chg->external)) {
return di->ac_chg->ops.check_enable(di->ac_chg,
- di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
- di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
+ di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
+ di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
}
return 0;
}
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Linux-kernel-mentees] [PATCH] Power: supply: abx500_chargalg.c: Fixed a code indentation error
@ 2019-10-15 16:13 ` madhuparnabhowmik04
0 siblings, 0 replies; 6+ messages in thread
From: madhuparnabhowmik04 @ 2019-10-15 16:13 UTC (permalink / raw)
From: Madhuparna Bhowmik <madhuparnabhowmik04 at gmail.com>
Fixed Code indentation error caused due to using spaces
instead of tabs.
The error reported by checkpatch.pl is:
ERROR: code indent should use tabs where possible
The warning reported by checkpatch.pl is:
WARNING: please, no spaces at the start of a line
Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04 at gmail.com>
---
drivers/power/supply/abx500_chargalg.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/power/supply/abx500_chargalg.c b/drivers/power/supply/abx500_chargalg.c
index 23757fb10479..e6e37d4f20e4 100644
--- a/drivers/power/supply/abx500_chargalg.c
+++ b/drivers/power/supply/abx500_chargalg.c
@@ -354,13 +354,13 @@ static int abx500_chargalg_check_charger_enable(struct abx500_chargalg *di)
if (di->chg_info.charger_type & USB_CHG) {
return di->usb_chg->ops.check_enable(di->usb_chg,
- di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
- di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
+ di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
+ di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
} else if ((di->chg_info.charger_type & AC_CHG) &&
!(di->ac_chg->external)) {
return di->ac_chg->ops.check_enable(di->ac_chg,
- di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
- di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
+ di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
+ di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
}
return 0;
}
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Linux-kernel-mentees] [PATCH] Power: supply: abx500_chargalg.c: Fixed a code indentation error
@ 2019-10-15 16:13 ` madhuparnabhowmik04
0 siblings, 0 replies; 6+ messages in thread
From: madhuparnabhowmik04 @ 2019-10-15 16:13 UTC (permalink / raw)
From: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com>
Fixed Code indentation error caused due to using spaces
instead of tabs.
The error reported by checkpatch.pl is:
ERROR: code indent should use tabs where possible
The warning reported by checkpatch.pl is:
WARNING: please, no spaces at the start of a line
Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04 at gmail.com>
---
drivers/power/supply/abx500_chargalg.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/power/supply/abx500_chargalg.c b/drivers/power/supply/abx500_chargalg.c
index 23757fb10479..e6e37d4f20e4 100644
--- a/drivers/power/supply/abx500_chargalg.c
+++ b/drivers/power/supply/abx500_chargalg.c
@@ -354,13 +354,13 @@ static int abx500_chargalg_check_charger_enable(struct abx500_chargalg *di)
if (di->chg_info.charger_type & USB_CHG) {
return di->usb_chg->ops.check_enable(di->usb_chg,
- di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
- di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
+ di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
+ di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
} else if ((di->chg_info.charger_type & AC_CHG) &&
!(di->ac_chg->external)) {
return di->ac_chg->ops.check_enable(di->ac_chg,
- di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
- di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
+ di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
+ di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
}
return 0;
}
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] Power: supply: abx500_chargalg.c: Fixed a code indentation error
2019-10-15 16:13 ` madhuparnabhowmik04
(?)
@ 2019-10-20 12:57 ` sre
-1 siblings, 0 replies; 6+ messages in thread
From: Sebastian Reichel @ 2019-10-20 12:57 UTC (permalink / raw)
To: madhuparnabhowmik04; +Cc: linux-pm, linux-kernel, linux-kernel-mentees
[-- Attachment #1: Type: text/plain, Size: 1877 bytes --]
Hi,
On Tue, Oct 15, 2019 at 09:43:41PM +0530, madhuparnabhowmik04@gmail.com wrote:
> From: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com>
>
> Fixed Code indentation error caused due to using spaces
> instead of tabs.
> The error reported by checkpatch.pl is:
> ERROR: code indent should use tabs where possible
> The warning reported by checkpatch.pl is:
> WARNING: please, no spaces at the start of a line
>
> Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com>
> ---
Thanks, queued to power-supply's for-next branch.
-- Sebastian
> drivers/power/supply/abx500_chargalg.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/power/supply/abx500_chargalg.c b/drivers/power/supply/abx500_chargalg.c
> index 23757fb10479..e6e37d4f20e4 100644
> --- a/drivers/power/supply/abx500_chargalg.c
> +++ b/drivers/power/supply/abx500_chargalg.c
> @@ -354,13 +354,13 @@ static int abx500_chargalg_check_charger_enable(struct abx500_chargalg *di)
>
> if (di->chg_info.charger_type & USB_CHG) {
> return di->usb_chg->ops.check_enable(di->usb_chg,
> - di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> - di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> + di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> + di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> } else if ((di->chg_info.charger_type & AC_CHG) &&
> !(di->ac_chg->external)) {
> return di->ac_chg->ops.check_enable(di->ac_chg,
> - di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> - di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> + di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> + di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> }
> return 0;
> }
> --
> 2.17.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Linux-kernel-mentees] [PATCH] Power: supply: abx500_chargalg.c: Fixed a code indentation error
@ 2019-10-20 12:57 ` sre
0 siblings, 0 replies; 6+ messages in thread
From: sre @ 2019-10-20 12:57 UTC (permalink / raw)
Hi,
On Tue, Oct 15, 2019 at 09:43:41PM +0530, madhuparnabhowmik04 at gmail.com wrote:
> From: Madhuparna Bhowmik <madhuparnabhowmik04 at gmail.com>
>
> Fixed Code indentation error caused due to using spaces
> instead of tabs.
> The error reported by checkpatch.pl is:
> ERROR: code indent should use tabs where possible
> The warning reported by checkpatch.pl is:
> WARNING: please, no spaces at the start of a line
>
> Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04 at gmail.com>
> ---
Thanks, queued to power-supply's for-next branch.
-- Sebastian
> drivers/power/supply/abx500_chargalg.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/power/supply/abx500_chargalg.c b/drivers/power/supply/abx500_chargalg.c
> index 23757fb10479..e6e37d4f20e4 100644
> --- a/drivers/power/supply/abx500_chargalg.c
> +++ b/drivers/power/supply/abx500_chargalg.c
> @@ -354,13 +354,13 @@ static int abx500_chargalg_check_charger_enable(struct abx500_chargalg *di)
>
> if (di->chg_info.charger_type & USB_CHG) {
> return di->usb_chg->ops.check_enable(di->usb_chg,
> - di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> - di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> + di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> + di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> } else if ((di->chg_info.charger_type & AC_CHG) &&
> !(di->ac_chg->external)) {
> return di->ac_chg->ops.check_enable(di->ac_chg,
> - di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> - di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> + di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> + di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> }
> return 0;
> }
> --
> 2.17.1
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/linux-kernel-mentees/attachments/20191020/d7b42017/attachment.sig>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Linux-kernel-mentees] [PATCH] Power: supply: abx500_chargalg.c: Fixed a code indentation error
@ 2019-10-20 12:57 ` sre
0 siblings, 0 replies; 6+ messages in thread
From: Sebastian Reichel @ 2019-10-20 12:57 UTC (permalink / raw)
Hi,
On Tue, Oct 15, 2019 at 09:43:41PM +0530, madhuparnabhowmik04 at gmail.com wrote:
> From: Madhuparna Bhowmik <madhuparnabhowmik04 at gmail.com>
>
> Fixed Code indentation error caused due to using spaces
> instead of tabs.
> The error reported by checkpatch.pl is:
> ERROR: code indent should use tabs where possible
> The warning reported by checkpatch.pl is:
> WARNING: please, no spaces at the start of a line
>
> Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04 at gmail.com>
> ---
Thanks, queued to power-supply's for-next branch.
-- Sebastian
> drivers/power/supply/abx500_chargalg.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/power/supply/abx500_chargalg.c b/drivers/power/supply/abx500_chargalg.c
> index 23757fb10479..e6e37d4f20e4 100644
> --- a/drivers/power/supply/abx500_chargalg.c
> +++ b/drivers/power/supply/abx500_chargalg.c
> @@ -354,13 +354,13 @@ static int abx500_chargalg_check_charger_enable(struct abx500_chargalg *di)
>
> if (di->chg_info.charger_type & USB_CHG) {
> return di->usb_chg->ops.check_enable(di->usb_chg,
> - di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> - di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> + di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> + di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> } else if ((di->chg_info.charger_type & AC_CHG) &&
> !(di->ac_chg->external)) {
> return di->ac_chg->ops.check_enable(di->ac_chg,
> - di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> - di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> + di->bm->bat_type[di->bm->batt_id].normal_vol_lvl,
> + di->bm->bat_type[di->bm->batt_id].normal_cur_lvl);
> }
> return 0;
> }
> --
> 2.17.1
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/linux-kernel-mentees/attachments/20191020/d7b42017/attachment.sig>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-10-20 12:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-15 16:13 [PATCH] Power: supply: abx500_chargalg.c: Fixed a code indentation error madhuparnabhowmik04
2019-10-15 16:13 ` [Linux-kernel-mentees] " madhuparnabhowmik04
2019-10-15 16:13 ` madhuparnabhowmik04
2019-10-20 12:57 ` Sebastian Reichel
2019-10-20 12:57 ` [Linux-kernel-mentees] " Sebastian Reichel
2019-10-20 12:57 ` sre
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.