diff options
author | Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com> | 2019-10-15 18:13:41 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2019-10-20 14:54:31 +0200 |
commit | bffc687cc6c2b2833a2ef6927db4468437b2ba37 (patch) | |
tree | b206c8dbceb300025b0e0fc6e2ebbda01d29b556 /drivers/power | |
parent | power: supply: axp20x_usb_power: enable USB BC detection on AXP813 (diff) | |
download | linux-bffc687cc6c2b2833a2ef6927db4468437b2ba37.tar.xz linux-bffc687cc6c2b2833a2ef6927db4468437b2ba37.zip |
power: supply: abx500_chargalg: Fix code indentation
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>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/supply/abx500_chargalg.c | 8 |
1 files 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; } |