Re: [PATCH] iio: health/afe4404: mark suspend/resume functions __maybe_unused

2016-02-17 Thread Jonathan Cameron
On 15/02/16 09:19, Arnd Bergmann wrote: > The newly added afe4404 driver implements suspend/resume using the > SIMPLE_DEV_PM_OPS() macro, which leaves out references to the actual > functions when CONFIG_PM is disabled, causing a harmless warning: > > health/afe4404.c:509:12: error:

Re: [PATCH] iio: health/afe4404: mark suspend/resume functions __maybe_unused

2016-02-17 Thread Jonathan Cameron
On 15/02/16 09:19, Arnd Bergmann wrote: > The newly added afe4404 driver implements suspend/resume using the > SIMPLE_DEV_PM_OPS() macro, which leaves out references to the actual > functions when CONFIG_PM is disabled, causing a harmless warning: > > health/afe4404.c:509:12: error:

[PATCH] iio: health/afe4404: mark suspend/resume functions __maybe_unused

2016-02-15 Thread Arnd Bergmann
The newly added afe4404 driver implements suspend/resume using the SIMPLE_DEV_PM_OPS() macro, which leaves out references to the actual functions when CONFIG_PM is disabled, causing a harmless warning: health/afe4404.c:509:12: error: 'afe4404_suspend' defined but not used health/afe4404.c:530:12:

[PATCH] iio: health/afe4404: mark suspend/resume functions __maybe_unused

2016-02-15 Thread Arnd Bergmann
The newly added afe4404 driver implements suspend/resume using the SIMPLE_DEV_PM_OPS() macro, which leaves out references to the actual functions when CONFIG_PM is disabled, causing a harmless warning: health/afe4404.c:509:12: error: 'afe4404_suspend' defined but not used health/afe4404.c:530:12: