[media] rc-main: split setup and unregister functions
authorAndi Shyti <andi.shyti@samsung.com>
Fri, 16 Dec 2016 06:12:14 +0000 (04:12 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 30 Jan 2017 16:06:19 +0000 (14:06 -0200)
commit7ff2c2bc259e1032dc385a427c58afce4a38956b
tree7e2d79c027d3719668e75debc7a1a7f9d86f3f11
parent0f7499fddb153a333dff3c1dc4280c178b9b5a80
[media] rc-main: split setup and unregister functions

Move the input device allocation, map and protocol handling to
different functions.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/rc-main.c