Re: [PATCH] regulator: as3711: Remove unused fields from as3711_regulator_info and as3711_regulator

2014-09-07 Thread Mark Brown
On Sun, Sep 07, 2014 at 06:34:51PM +0800, Axel Lin wrote: > The max_uV is not used, so remove it from struct as3711_regulator_info. > Current code is using devm_regulator_register(), so we don't need to store > *rdev > in struct as3711_regulator for clean up. > Also clean up AS3711_REG macro to

[PATCH] regulator: as3711: Remove unused fields from as3711_regulator_info and as3711_regulator

2014-09-07 Thread Axel Lin
The max_uV is not used, so remove it from struct as3711_regulator_info. Current code is using devm_regulator_register(), so we don't need to store *rdev in struct as3711_regulator for clean up. Also clean up AS3711_REG macro to remove _vshift, _min_uV and _max_uV arguments. _vshift is always 0,

[PATCH] regulator: as3711: Remove unused fields from as3711_regulator_info and as3711_regulator

2014-09-07 Thread Axel Lin
The max_uV is not used, so remove it from struct as3711_regulator_info. Current code is using devm_regulator_register(), so we don't need to store *rdev in struct as3711_regulator for clean up. Also clean up AS3711_REG macro to remove _vshift, _min_uV and _max_uV arguments. _vshift is always 0,

[PATCH] regulator: as3711: Remove unused fields from as3711_regulator_info and as3711_regulator

2014-09-07 Thread Axel Lin
The max_uV is not used, so remove it from struct as3711_regulator_info. Current code is using devm_regulator_register(), so we don't need to store *rdev in struct as3711_regulator for clean up. Also clean up AS3711_REG macro to remove _vshift, _min_uV and _max_uV arguments. _vshift is always 0,

[PATCH] regulator: as3711: Remove unused fields from as3711_regulator_info and as3711_regulator

2014-09-07 Thread Axel Lin
The max_uV is not used, so remove it from struct as3711_regulator_info. Current code is using devm_regulator_register(), so we don't need to store *rdev in struct as3711_regulator for clean up. Also clean up AS3711_REG macro to remove _vshift, _min_uV and _max_uV arguments. _vshift is always 0,

Re: [PATCH] regulator: as3711: Remove unused fields from as3711_regulator_info and as3711_regulator

2014-09-07 Thread Mark Brown
On Sun, Sep 07, 2014 at 06:34:51PM +0800, Axel Lin wrote: The max_uV is not used, so remove it from struct as3711_regulator_info. Current code is using devm_regulator_register(), so we don't need to store *rdev in struct as3711_regulator for clean up. Also clean up AS3711_REG macro to