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

Linus Walleij linus.walleij at linaro.org
Tue Jul 7 08:42:12 EDT 2020


On Thu, Jun 25, 2020 at 9:17 PM Lee Jones <lee.jones at linaro.org> 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 at linaro.org>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list