Messages in this thread | | | Date | Wed, 20 Aug 2014 18:10:00 +0200 | From | Javier Martinez Canillas <> | Subject | Re: [PATCH] regulator: max77802: Remove unused fields from struct max77802_regulator_prv |
| |
Hello Axel,
On 08/20/2014 04:04 AM, Axel Lin wrote: > Both num_regulators and *rdev[MAX77802_REG_MAX] are not used, remove them. > > Signed-off-by: Axel Lin <axel.lin@ingics.com>
Right, these are not used indeed since are left overs from the previous attempt to have a single driver for both max77686 and max77802 PMICs. Sorry about that and thanks a lot for the patch.
> > struct max77802_regulator_prv { > - int num_regulators; > - struct regulator_dev *rdev[MAX77802_REG_MAX]; > unsigned int opmode[MAX77802_REG_MAX]; > }; > >
I see that Mark already applied this but fwiw:
Acked-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Best regards, Javier
| |