]> git.ipfire.org Git - people/ms/linux.git/commit
rc-core: fix remove uevent generation
authorDavid Härdeman <david@hardeman.nu>
Tue, 19 May 2015 22:03:12 +0000 (19:03 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Oct 2015 09:36:12 +0000 (11:36 +0200)
commit565e7a31c0b9299b5d0805c3b96bf4cb8b9494e9
tree895257c866023c1399d3f36577700c0a30bd95c7
parent0fce8532f6a8e94b409a778a1c607c8858a91e68
rc-core: fix remove uevent generation

commit a66b0c41ad277ae62a3ae6ac430a71882f899557 upstream.

The input_dev is already gone when the rc device is being unregistered
so checking for its presence only means that no remove uevent will be
generated.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/rc/rc-main.c