On 12/16/2014 05:49 PM, Fabio Estevam wrote:
The macro SIMPLE_DEV_PM_OPS already takes care of the CONFIG_PM_SLEEP=n case.
I guess that's kind of debatable. The purpose of ifdef-ing stuff out is to
decrease the driver size if PM support is disabled. With this change you are
adding a rather la
The macro SIMPLE_DEV_PM_OPS already takes care of the CONFIG_PM_SLEEP=n case, so
move it out of the CONFIG_PM_SLEEP 'if' block and remove the unneeded
ADV7180_PM_OPS definition to make the code simpler.
Signed-off-by: Fabio Estevam
---
drivers/media/i2c/adv7180.c | 9 ++---
1 file changed,