Re: [PATCH -next] mfd: rk808: Mark rk8xx_resume and rk8xx_suspend as __maybe_unused

2019-07-25 Thread Lee Jones
On Thu, 11 Jul 2019, YueHaibing wrote: > Fix build warning: > > drivers/mfd/rk808.c:752:12: warning: 'rk8xx_resume' defined but not used > [-Wunused-function] > drivers/mfd/rk808.c:732:12: warning: 'rk8xx_suspend' defined but not used > [-Wunused-function] > > The function is declared uncondit

[PATCH -next] mfd: rk808: Mark rk8xx_resume and rk8xx_suspend as __maybe_unused

2019-07-10 Thread YueHaibing
Fix build warning: drivers/mfd/rk808.c:752:12: warning: 'rk8xx_resume' defined but not used [-Wunused-function] drivers/mfd/rk808.c:732:12: warning: 'rk8xx_suspend' defined but not used [-Wunused-function] The function is declared unconditionally but only called while CONFIG_PM_SLEEP is set. R