Re: [PATCH] drivers: net: ethernet: remove incorrect __exit markups
From: David Miller
Date: Thu Mar 02 2017 - 17:35:43 EST
From: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
Date: Wed, 1 Mar 2017 17:24:47 -0800
> 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@xxxxxxxxx>
Applied, thank you.