OSDN Git Service

video: fbdev: pmag-aa-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)
commit2988f8f946e6cd6713e9ee06181bed3a1f90a62a
tree59205dbe658cf87dc8716a6d6bfe792cdf676512
parentb48c3cebd1337fb3da0c9ef78a9c9e6f36316176
video: fbdev: pmag-aa-fb: 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: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/pmag-aa-fb.c