mfd: ab8500-sysctrl: Fix Constify, printk => pr_info and formatting issues
authorLee Jones <lee.jones@linaro.org>
Wed, 28 Oct 2015 11:11:05 +0000 (11:11 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 14 Jan 2016 08:43:56 +0000 (08:43 +0000)
commit63b4fd7502790b16257396cc0270fa698bdec2b1
tree0e2abb96d01ff449af80231863d4ae4a8a357521
parentdf36442cfe2689e1b26c9633c17a28a9fe4e91ec
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>
drivers/mfd/ab8500-sysctrl.c