[media] media: st-rc: move pm ops setup out of conditional compilation
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 22 Sep 2014 22:22:38 +0000 (19:22 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Sep 2014 20:03:58 +0000 (17:03 -0300)
commitcdd9a6316bfb85176aba83e9532fbc46c9588378
tree61a912789ceccc2bd4cde7dadfa12c42b9a386b0
parent89d7ce5a0f159ffa99d0521b4336b922acdc7ac5
[media] media: st-rc: move pm ops setup out of conditional compilation

This patch moves setting of pm_ops out of the CONFIG_PM_SLEEP condition.
Setting pm ops under CONFIG_PM_SLEEP does not make any sense.
This patch also remove unnecessary also remove CONFIG_PM condition for pm
member in st_rc_driver structure.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/st_rc.c