diff options
author | Lee Jones <lee.jones@linaro.org> | 2015-10-28 11:11:05 +0000 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-01-14 08:43:56 +0000 |
commit | 63b4fd7502790b16257396cc0270fa698bdec2b1 (patch) | |
tree | 0e2abb96d01ff449af80231863d4ae4a8a357521 /drivers/mfd/db8500-prcmu.c | |
parent | df36442cfe2689e1b26c9633c17a28a9fe4e91ec (diff) |
mfd: ab8500-sysctrl: Fix Constify, printk => pr_info and formatting issues
WARNING: char * array declaration might be better as static const
+ static char *pss[] = {"ab8500_ac", "pm2301", "ab8500_usb"};
WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then
pr_info(... to printk(KERN_INFO ...
+ printk(KERN_INFO
WARNING: quoted string split across lines
+ "Charger \"%s\" is connected with known battery."
+ " Rebooting.\n",
WARNING: quoted string split across lines
+ "unable to set sysClkReq%dRfClkBuf: "
+ "%d\n", j + 1, ret);
total: 0 errors, 4 warnings, 199 lines checked
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/db8500-prcmu.c')
0 files changed, 0 insertions, 0 deletions