lkml.org 
[lkml]   [2014]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2014-08-20 18:41    [W:0.031 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site