Re: [RESEND 05/10] regulator: ab8500: Remove unused embedded struct expand_register

From: Linus Walleij
Date: Tue Jul 07 2020 - 08:42:26 EST


On Thu, Jun 25, 2020 at 9:17 PM Lee Jones <lee.jones@xxxxxxxxxx> wrote:

> Used primarily for the AB8540 which lost support in early 2018.
> It is now deemed safe to remove this legacy data structure.
>
> Also fixes W=1 issue:
>
> drivers/regulator/ab8500.c:88: warning: Function parameter or member 'expand_register' not described in 'ab8500_regulator_info'
>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij