diff options
author | Max Kellermann <max.kellermann@gmail.com> | 2016-08-09 18:32:16 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-18 15:03:45 -0200 |
commit | 4d5030b69bb4880a760406a6d3d519f02b9351dc (patch) | |
tree | 5ed43ebf560d962f860fb012a04c6c98be45ea2d /drivers/media/tuners/fc0012.c | |
parent | 1f4ed6cd58f36574237926f35bdec50116669909 (diff) | |
download | linux-stable-4d5030b69bb4880a760406a6d3d519f02b9351dc.tar.gz linux-stable-4d5030b69bb4880a760406a6d3d519f02b9351dc.tar.bz2 linux-stable-4d5030b69bb4880a760406a6d3d519f02b9351dc.zip |
[media] dvb-core/en50221: use dvb_remove_device()
Commit da677fe14364 ("[media] dvb-core/en50221: use kref to manage
struct dvb_ca_private") moved the dvb_unregister_device() call to the
kref callback, but that left lots of stale device state visible to
userspace (e.g. in sysfs). By using dvb_remove_device() and
dvb_free_device() instead of dvb_unregister_device(), we can avoid
that.
Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/tuners/fc0012.c')
0 files changed, 0 insertions, 0 deletions