From: Axel Lin Date: Thu, 21 Aug 2014 02:31:33 +0000 (+0800) Subject: regulator: hi6421: Remove unused fields from struct hi6421_regulator_info X-Git-Tag: fixes-for-v3.18-merge-window~31^2~3^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e820007caed7a03634fb14835a59bd0a232894d;p=pandora-kernel.git regulator: hi6421: Remove unused fields from struct hi6421_regulator_info The valid_modes_mask and *dev are not used in this driver, remove them. Current code uses devm_regulator_register, so we don't need *regulator in hi6421_regulator_info. Use a local variable instead. Also removes a few unnecessary inclusion of header files. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed