Re: [PATCH] spi: cadence: mark pm functions __maybe_unused

2016-04-17 Thread Shubhrajyoti Datta
On Sun, Apr 17, 2016 at 2:09 AM, Arnd Bergmann wrote: > The newly added runtime PM support for the cadence spi driver > causes harmless warnings when PM is disabled: > > drivers/spi/spi-cadence.c:681:12: warning: 'cnds_runtime_suspend' defined but > not used > drivers/spi/spi-cadence.c:652:12: wa

[PATCH] spi: cadence: mark pm functions __maybe_unused

2016-04-16 Thread Arnd Bergmann
The newly added runtime PM support for the cadence spi driver causes harmless warnings when PM is disabled: drivers/spi/spi-cadence.c:681:12: warning: 'cnds_runtime_suspend' defined but not used drivers/spi/spi-cadence.c:652:12: warning: 'cnds_runtime_resume' defined but not used This adds __ma