[media] af9013: refactor power control
authorAntti Palosaari <crope@iki.fi>
Wed, 14 Jun 2017 01:58:06 +0000 (22:58 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 13:35:08 +0000 (10:35 -0300)
commitcdd19b526f5b806ff0468cec1d429feffaf10c89
tree4204bfbe55fd09fca0266afe63916e68be7ee8c2
parent96700d248e7cb47cf5a9e392f8331ed50670d39d
[media] af9013: refactor power control

Move power-up and power-down functionality to init/sleep ops and
get rid of old function.

Fixes and simplifies power-up functionality slightly.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/af9013.c