Re: [PATCH] video: fbdev: pmag-aa-fb: remove incorrect __exit markups
From: Maciej W. Rozycki <hidden>
Date: 2017-03-23 11:48:58
Also in:
linux-fbdev
From: Maciej W. Rozycki <hidden>
Date: 2017-03-23 11:48:58
Also in:
linux-fbdev
On Mon, 20 Mar 2017, Bartlomiej Zolnierkiewicz wrote:
quoted
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>Patch queued for 4.12, thanks.
Thanks! Maciej