power: bq27x00_battery: Checkpatch fixes
authorAndrew F. Davis <afd@ti.com>
Wed, 22 Jul 2015 21:51:56 +0000 (16:51 -0500)
committerSebastian Reichel <sre@kernel.org>
Fri, 24 Jul 2015 15:34:06 +0000 (17:34 +0200)
commit6d0a1815e814ee5eaa0cec17913d5e4abae99ef0
treeaaef117318b41a37b6fa868c96ee3d9678de0935
parentce33edfa4903d8b8ded2569e880489678f75a85b
power: bq27x00_battery: Checkpatch fixes

Remove space before tab.
Remove unnecessary line continuations.
Add braces to else statement.
Remove unnecessary parentheses.
Remove unneeded blank lines.
Remove unnecessary 'out of memory' message.
Add missing line after declarations.
Change use of printk to pr_err.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Acked-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/bq27x00_battery.c