]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] Staging: media: radio-bcm2048: remove incorrect __exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 1 Mar 2017 23:50:03 +0000 (20:50 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 22 Mar 2017 13:14:58 +0000 (10:14 -0300)
commit733e009c37b6caa219d7057838582d1259c4554f
tree6f57599acda517a437c223e85fc456239378942c
parent78cea55c60fbfbf80f826b8574851de59a661028
[media] Staging: media: radio-bcm2048: remove incorrect __exit markups

Even if bus is not hot-pluggable, devices can be unbound from the
driver via sysfs, so we should not be using __exit annotations on
remove() methods. The only exception is drivers registered with
platform_driver_probe() which specifically disables sysfs bind/unbind
attributes.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/bcm2048/radio-bcm2048.c