From: Laxman Dewangan Date: Tue, 8 May 2012 11:35:58 +0000 (+0530) Subject: regulator: tps62360: fix stylistic issue and optimize code X-Git-Tag: v3.5-rc1~177^2~57^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2935fb18aa1e75e6afaab3303cdd1a4ac62be63e;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed