Re: [PATCH 1/2] regulator: dbx500: remove unused functions in dbx500-prcmu.c

From: Arnd Bergmann
Date: Fri Sep 23 2016 - 09:44:07 EST


On Friday, September 23, 2016 8:47:22 PM CEST Baoyou Xie wrote:
> We get 2 warnings when building kernel with W=1:
> drivers/regulator/dbx500-prcmu.c:78:6: warning: no previous prototype for 'ux500_regulator_suspend_debug' [-Wmissing-prototypes]
> drivers/regulator/dbx500-prcmu.c:87:6: warning: no previous prototype for 'ux500_regulator_resume_debug' [-Wmissing-prototypes]
>
> In fact, these functions are unused in
> dbx500-prcmu.c, but should be removed.
>
> So this patch removes the unused functions.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@xxxxxxxxxx>
>

Good catch,

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>