power: supply: ab8500_charger: Remove unneeded semicolon
Fixes coccicheck warning: drivers/power/supply/ab8500_charger.c:1082:2-3: Unneeded semicolon drivers/power/supply/ab8500_charger.c:792:2-3: Unneeded semicolon drivers/power/supply/ab8500_charger.c:2430:2-3: Unneeded semicolon Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Ma Feng <mafeng.ma@huawei.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
c6ef5234ef
commit
e15c54d208
|
@ -789,7 +789,7 @@ static int ab8500_charger_max_usb_curr(struct ab8500_charger *di,
|
||||||
di->max_usb_in_curr.usb_type_max = USB_CH_IP_CUR_LVL_0P05;
|
di->max_usb_in_curr.usb_type_max = USB_CH_IP_CUR_LVL_0P05;
|
||||||
ret = -ENXIO;
|
ret = -ENXIO;
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
|
|
||||||
di->max_usb_in_curr.set_max = di->max_usb_in_curr.usb_type_max;
|
di->max_usb_in_curr.set_max = di->max_usb_in_curr.usb_type_max;
|
||||||
dev_dbg(di->dev, "USB Type - 0x%02x MaxCurr: %d",
|
dev_dbg(di->dev, "USB Type - 0x%02x MaxCurr: %d",
|
||||||
|
@ -1079,7 +1079,7 @@ static int ab8500_charger_get_usb_cur(struct ab8500_charger *di)
|
||||||
di->max_usb_in_curr.usb_type_max = USB_CH_IP_CUR_LVL_0P05;
|
di->max_usb_in_curr.usb_type_max = USB_CH_IP_CUR_LVL_0P05;
|
||||||
ret = -EPERM;
|
ret = -EPERM;
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
di->max_usb_in_curr.set_max = di->max_usb_in_curr.usb_type_max;
|
di->max_usb_in_curr.set_max = di->max_usb_in_curr.usb_type_max;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -2427,7 +2427,7 @@ static void ab8500_charger_usb_state_changed_work(struct work_struct *work)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue