Re: [PATCH] regulator: hi6421: Remove unused fields from struct hi6421_regulator_info

2014-08-21 Thread Mark Brown
On Thu, Aug 21, 2014 at 10:31:33AM +0800, Axel Lin wrote: > 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. Applied, thanks. signature.asc De

[PATCH] regulator: hi6421: Remove unused fields from struct hi6421_regulator_info

2014-08-20 Thread Axel Lin
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 --- drivers/re