]> asedeno.scripts.mit.edu Git - linux.git/commit
video: fbdev: pmag-ba-fb: remove incorrect __exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 20 Mar 2017 17:30:59 +0000 (18:30 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 20 Mar 2017 17:30:59 +0000 (18:30 +0100)
commit982711ccb04bd1ea30b45a837c67692ef897f689
treeda26d6615afc6863dbf8bf377751e016b458e63a
parent0348aaa34412e24ebe622a2b1b013e68d6ae5412
video: fbdev: pmag-ba-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>
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/pmag-ba-fb.c