Skip to content

Commit 3d32a84

Browse files
Chen Zhousre
authored andcommitted
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 <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent cb619e8 commit 3d32a84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/power/supply/ipaq_micro_battery.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ static int micro_batt_get_property(struct power_supply *b,
149149
default:
150150
val->intval = POWER_SUPPLY_TECHNOLOGY_UNKNOWN;
151151
break;
152-
};
152+
}
153153
break;
154154
case POWER_SUPPLY_PROP_STATUS:
155155
val->intval = get_status(b);
@@ -168,7 +168,7 @@ static int micro_batt_get_property(struct power_supply *b,
168168
break;
169169
default:
170170
return -EINVAL;
171-
};
171+
}
172172

173173
return 0;
174174
}
@@ -185,7 +185,7 @@ static int micro_ac_get_property(struct power_supply *b,
185185
break;
186186
default:
187187
return -EINVAL;
188-
};
188+
}
189189

190190
return 0;
191191
}

0 commit comments

Comments
 (0)