]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: pfuze100-regulator: Fix some checkpatch complaints
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 15 Jan 2014 02:52:45 +0000 (00:52 -0200)
committerMark Brown <broonie@linaro.org>
Wed, 15 Jan 2014 11:46:56 +0000 (11:46 +0000)
commit11b6f272d8ebe85d40d182838dab20891ef18340
treeaee1ecf162d102d6d565b5d6404b69bf2f8df52e
parent1ba2d509d4e96af93ab0a37877c804120e2064e0
regulator: pfuze100-regulator: Fix some checkpatch complaints

Fix the following checkpatch error and warning:

ERROR: switch and case should be at the same indent
#311: FILE: drivers/regulator/pfuze100-regulator.c:311:
+ switch (value & 0x0f) {
[...]
+ case 0x8:
[...]
+ case 0x0:
[...]
+ default:

WARNING: line over 80 characters
#312: FILE: drivers/regulator/pfuze100-regulator.c:312:
+ /* Freescale misprogrammed 1-3% of parts prior to week 8 of 2013 as ID=8 */

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/pfuze100-regulator.c