summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply
diff options
context:
space:
mode:
authorChen Zhou <chenzhou10@huawei.com>2020-01-15 14:40:10 +0100
committerSebastian Reichel <sre@kernel.org>2020-01-17 02:13:00 +0100
commit3d32a8437c051013352baf5cbd0844fcf5d2f409 (patch)
tree72135bf84daf2f4db024932e2bc3dd50d526380d /drivers/power/supply
parentpower: supply: bq25890_charger: fix incorrect error return when bq25890_field... (diff)
downloadlinux-3d32a8437c051013352baf5cbd0844fcf5d2f409.tar.xz
linux-3d32a8437c051013352baf5cbd0844fcf5d2f409.zip
power: supply: ipaq_micro_battery: remove unneeded semicolon
Fixes coccicheck warning: ./drivers/power/supply/ipaq_micro_battery.c:188:2-3: Unneeded semicolon ./drivers/power/supply/ipaq_micro_battery.c:152:3-4: Unneeded semicolon ./drivers/power/supply/ipaq_micro_battery.c:171:2-3: Unneeded semicolon Signed-off-by: Chen Zhou <chenzhou10@huawei.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply')
-rw-r--r--drivers/power/supply/ipaq_micro_battery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/supply/ipaq_micro_battery.c b/drivers/power/supply/ipaq_micro_battery.c
index 03592ceaca88..192d9db0fb00 100644
--- a/drivers/power/supply/ipaq_micro_battery.c
+++ b/drivers/power/supply/ipaq_micro_battery.c
@@ -149,7 +149,7 @@ static int micro_batt_get_property(struct power_supply *b,
default:
val->intval = POWER_SUPPLY_TECHNOLOGY_UNKNOWN;
break;
- };
+ }
break;
case POWER_SUPPLY_PROP_STATUS:
val->intval = get_status(b);
@@ -168,7 +168,7 @@ static int micro_batt_get_property(struct power_supply *b,
break;
default:
return -EINVAL;
- };
+ }
return 0;
}
@@ -185,7 +185,7 @@ static int micro_ac_get_property(struct power_supply *b,
break;
default:
return -EINVAL;
- };
+ }
return 0;
}