[media] lirc_dev: remove superfluous get/put_device() calls
authorDavid Härdeman <david@hardeman.nu>
Mon, 1 May 2017 16:04:26 +0000 (13:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 12:05:09 +0000 (09:05 -0300)
commit5be2b76a9ca4ea5fd3e221114d62eeb0d78267ca
treef111742469e7f1e966110861650e9d1e1449ce62
parent712551f0e45d668bd42cf5ce752f02fa0bba63f2
[media] lirc_dev: remove superfluous get/put_device() calls

device_add() and friends already manage the references to the parent
device so these calls aren't necessary.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/lirc_dev.c