[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6163972.WkHVgn18vr@wuerfel>
Date: Fri, 23 Sep 2016 15:43:47 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Baoyou Xie <baoyou.xie@...aro.org>
Cc: lgirdwood@...il.com, broonie@...nel.org,
linux-kernel@...r.kernel.org, xie.baoyou@....com.cn
Subject: Re: [PATCH 1/2] regulator: dbx500: remove unused functions in dbx500-prcmu.c
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@...aro.org>
>
Good catch,
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists