Re: [PATCH] regulator: wm8350: remove unused variable

2015-03-05 Thread Mark Brown
On Thu, Feb 26, 2015 at 11:29:29AM +0100, Arnd Bergmann wrote: > After the only user of the variable has been removed, we get a valid gcc > warning about it: I applied another fix for this, thanks. signature.asc Description: Digital signature

Re: [PATCH] regulator: wm8350: Remove unused variable

2015-03-05 Thread Mark Brown
On Thu, Feb 26, 2015 at 01:54:51AM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Commit 8f45acb5f9f34eab ("regulator: wm8350: Pass NULL data with > REGULATION_OUT > and UNDER_VOLTAGE events") introduced the following build warning: Applied, thanks. signature.asc Description: Digital

Re: [PATCH] regulator: wm8350: Remove unused variable

2015-03-05 Thread Mark Brown
On Thu, Feb 26, 2015 at 01:54:51AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Commit 8f45acb5f9f34eab (regulator: wm8350: Pass NULL data with REGULATION_OUT and UNDER_VOLTAGE events) introduced the following build warning: Applied, thanks. signature.asc

Re: [PATCH] regulator: wm8350: remove unused variable

2015-03-05 Thread Mark Brown
On Thu, Feb 26, 2015 at 11:29:29AM +0100, Arnd Bergmann wrote: After the only user of the variable has been removed, we get a valid gcc warning about it: I applied another fix for this, thanks. signature.asc Description: Digital signature

Re: [PATCH] regulator: wm8350: remove unused variable

2015-02-26 Thread Geert Uytterhoeven
On Thu, Feb 26, 2015 at 11:29 AM, Arnd Bergmann wrote: > After the only user of the variable has been removed, we get a valid gcc > warning about it: > > regulator/wm8350-regulator.c:1154:17: warning: unused variable 'wm8350' > [-Wunused-variable] > > The obvious fix is to remove the variable as

[PATCH] regulator: wm8350: remove unused variable

2015-02-26 Thread Arnd Bergmann
After the only user of the variable has been removed, we get a valid gcc warning about it: regulator/wm8350-regulator.c:1154:17: warning: unused variable 'wm8350' [-Wunused-variable] The obvious fix is to remove the variable as well. Signed-off-by: Arnd Bergmann Fixes: 8f45acb5f9f34

Re: [PATCH] regulator: wm8350: Remove unused variable

2015-02-26 Thread Geert Uytterhoeven
On Thu, Feb 26, 2015 at 5:54 AM, Fabio Estevam wrote: > From: Fabio Estevam > > Commit 8f45acb5f9f34eab ("regulator: wm8350: Pass NULL data with > REGULATION_OUT > and UNDER_VOLTAGE events") introduced the following build warning: > > drivers/regulator/wm8350-regulator.c: In function

Re: [PATCH] regulator: wm8350: remove unused variable

2015-02-26 Thread Geert Uytterhoeven
On Thu, Feb 26, 2015 at 11:29 AM, Arnd Bergmann a...@arndb.de wrote: After the only user of the variable has been removed, we get a valid gcc warning about it: regulator/wm8350-regulator.c:1154:17: warning: unused variable 'wm8350' [-Wunused-variable] The obvious fix is to remove the

[PATCH] regulator: wm8350: remove unused variable

2015-02-26 Thread Arnd Bergmann
After the only user of the variable has been removed, we get a valid gcc warning about it: regulator/wm8350-regulator.c:1154:17: warning: unused variable 'wm8350' [-Wunused-variable] The obvious fix is to remove the variable as well. Signed-off-by: Arnd Bergmann a...@arndb.de Fixes:

Re: [PATCH] regulator: wm8350: Remove unused variable

2015-02-26 Thread Geert Uytterhoeven
On Thu, Feb 26, 2015 at 5:54 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Commit 8f45acb5f9f34eab (regulator: wm8350: Pass NULL data with REGULATION_OUT and UNDER_VOLTAGE events) introduced the following build warning:

[PATCH] regulator: wm8350: Remove unused variable

2015-02-25 Thread Fabio Estevam
From: Fabio Estevam Commit 8f45acb5f9f34eab ("regulator: wm8350: Pass NULL data with REGULATION_OUT and UNDER_VOLTAGE events") introduced the following build warning: drivers/regulator/wm8350-regulator.c: In function 'pmic_uv_handler': drivers/regulator/wm8350-regulator.c:1154:17: warning:

[PATCH] regulator: wm8350: Remove unused variable

2015-02-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Commit 8f45acb5f9f34eab (regulator: wm8350: Pass NULL data with REGULATION_OUT and UNDER_VOLTAGE events) introduced the following build warning: drivers/regulator/wm8350-regulator.c: In function 'pmic_uv_handler':