]> git.karo-electronics.de Git - linux-beck.git/commit
[media] rc: nuvoton: use managed versions of rc_allocate_device and rc_register_device
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 30 Sep 2016 20:42:17 +0000 (17:42 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 24 Oct 2016 20:29:49 +0000 (18:29 -0200)
commitb6f3ece3873323a3d4dd56d71231d5f758265463
treeb3825900e0226550411d7f3057bd7c03463cca1c
parentddbf7d5a698c4d8553ad2f77cb281d7b37898d34
[media] rc: nuvoton: use managed versions of rc_allocate_device and rc_register_device

Simplify the remove function and the error path in the probe function by
using the managed versions of rc_allocate_device and rc_register_device.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/nuvoton-cir.c