Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490108

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

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] regulator: dbx500: remove unused functions in dbx500-prcmu.c
Date 2016-09-23 15:50 +0200
Message-ID <skz1w-4hK-49@gated-at.bofh.it> (permalink)
References <sky5r-3Iu-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@linaro.org>
> 

Good catch,

Acked-by: Arnd Bergmann <arnd@arndb.de>

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] regulator: dbx500: remove unused functions in dbx500-prcmu.c Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-23 14:50 +0200
  Re: [PATCH 1/2] regulator: dbx500: remove unused functions in dbx500-prcmu.c Arnd Bergmann <arnd@arndb.de> - 2016-09-23 15:50 +0200
  Applied "regulator: dbx500: remove unused functions in dbx500-prcmu.c" to the regulator tree Mark Brown <broonie@kernel.org> - 2016-09-26 18:50 +0200

csiph-web