diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-05-08 13:35:58 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-08 13:42:32 +0200 |
commit | 2935fb18aa1e75e6afaab3303cdd1a4ac62be63e (patch) | |
tree | 294ec5ab64b0a351898e0ae1bbdbea508211f832 /block | |
parent | regulator: wm831x-dcdc: Convert to gpio_request_one() (diff) | |
download | linux-2935fb18aa1e75e6afaab3303cdd1a4ac62be63e.tar.xz linux-2935fb18aa1e75e6afaab3303cdd1a4ac62be63e.zip |
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 'block')
0 files changed, 0 insertions, 0 deletions