]> git.baikalelectronics.ru Git - kernel.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)
commita543c6432ad963856e4fc2a1991bc26b04a66881
treeb3825900e0226550411d7f3057bd7c03463cca1c
parent3ec1c569bfa840ca6325fc06246ee7c5285b204f
[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