]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
video: fbdev: pmagb-b-fb: remove incorrect __exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 20 Mar 2017 17:31:00 +0000 (18:31 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 20 Mar 2017 17:31:00 +0000 (18:31 +0100)
commitb48c3cebd1337fb3da0c9ef78a9c9e6f36316176
tree9ef9aa2396e1f70f710bfa7458cd9838184cada2
parent982711ccb04bd1ea30b45a837c67692ef897f689
video: fbdev: pmagb-b-fb: remove incorrect __exit markups

Even if bus is not hot-pluggable, the 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: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/pmagb-b-fb.c