media: stv090x: Implement probe/remove for stv090x
authorTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Wed, 29 May 2019 18:02:06 +0000 (14:02 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 10 Jun 2019 19:01:38 +0000 (15:01 -0400)
commiteb5005df886b3989dde5378064cc23315f769290
tree5dffdcc2d2db09be585d510a54be084e4deff110
parent3c8f4cd271c486844e8eccebaf6714d913180ecc
media: stv090x: Implement probe/remove for stv090x

Move common code into a new function.

This provides the needed functionality to use dvb_module_probe() instead
of dvb_attach()!

[mchehab+samsung@kernel.org: fix an out of order error return code]
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/dvb-frontends/stv090x.c
drivers/media/dvb-frontends/stv090x.h
drivers/media/dvb-frontends/stv090x_priv.h