summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/wm8994-regulator.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-05-08 17:05:58 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-08 12:42:32 +0100
commit2935fb18aa1e75e6afaab3303cdd1a4ac62be63e (patch)
tree294ec5ab64b0a351898e0ae1bbdbea508211f832 /drivers/regulator/wm8994-regulator.c
parent053fa1b75244c4be0d4b4065f80f31deaf2f24a7 (diff)
downloadop-kernel-dev-2935fb18aa1e75e6afaab3303cdd1a4ac62be63e.zip
op-kernel-dev-2935fb18aa1e75e6afaab3303cdd1a4ac62be63e.tar.gz
regulator: tps62360: fix stylistic issue and optimize code
Fix multiple stylistic issue like: - The print message should be not break into multiple line. - line gap after variable declaration and statement. - checkpatch error. - some typo. Some enhancement on error message printing to print error value also along with proper text. Avoid voltage_base conversion to microvolts every time. Put init functions in init section. Using efficient function inplace of calling multiple function to reduce the code size. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/wm8994-regulator.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud