]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: i810: 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)
commit45cdc2c8e9db1de3e85d1992ef9aee32d69ef123
tree05d67180a38ab35814405024a80ef2b93f5efc47
parent0a8a101f63e5cbd89d5212419b4322e092d69200
video: fbdev: i810: 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>
Cc: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/i810/i810_main.c