diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-05-08 17:05:58 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-06-01 13:07:23 -0700 |
commit | 15f2303eb2562379e772651494dd55743a5356e0 (patch) | |
tree | 99354f8d9ecd402a3e53e8755649c25caf5f0df0 /drivers/parisc | |
parent | 8b0d9edf90c45567b582b1fcd1fa43c11ce39c1e (diff) |
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>
(cherry picked from commit 2935fb18aa1e75e6afaab3303cdd1a4ac62be63e)
Change-Id: I988938f8f8cc6fb5355e32bd6ac25d95db94913c
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105831
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions