Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: 88pm860x-core: Fix commenting and declaration spacing

Checkpatch output:

WARNING: Block comments use a trailing */ on a separate line
+ * - turn off */

WARNING: Missing a blank line after declarations
+ int ret;
+ ret = i2c_add_driver(&pm860x_driver);

total: 0 errors, 2 warnings, 1283 lines checked

Signed-off-by: Lee Jones <lee.jones@linaro.org>

Lee Jones f90dff44 0b819951

+6 -3
+6 -3
drivers/mfd/88pm860x-core.c
··· 705 705 chip->osc_status); 706 706 707 707 mutex_lock(&chip->osc_lock); 708 - /*Update voting status */ 708 + /* Update voting status */ 709 709 chip->osc_vote &= ~(client); 710 - /* If reference group is off and this is the last client to release 711 - * - turn off */ 710 + /* 711 + * If reference group is off and this is the last client to release 712 + * - turn off 713 + */ 712 714 if ((chip->osc_status != PM8606_REF_GP_OSC_OFF) && 713 715 (chip->osc_vote == REF_GP_NO_CLIENTS)) { 714 716 chip->osc_status = PM8606_REF_GP_OSC_UNKNOWN; ··· 1267 1265 static int __init pm860x_i2c_init(void) 1268 1266 { 1269 1267 int ret; 1268 + 1270 1269 ret = i2c_add_driver(&pm860x_driver); 1271 1270 if (ret != 0) 1272 1271 pr_err("Failed to register 88PM860x I2C driver: %d\n", ret);