]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: ethernet: remove incorrect __exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 2 Mar 2017 01:24:47 +0000 (17:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Mar 2017 22:33:49 +0000 (14:33 -0800)
commitd3bc4445a45e3ad5caa01a8c1dc2148e502930b6
tree147e0110de4d5228f09def2d8c112f69fb62b87c
parent3a84783fa7afa8c6d79b5aff468098876093b252
drivers: net: ethernet: 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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/declance.c
drivers/net/ethernet/broadcom/sb1250-mac.c
drivers/net/ethernet/faraday/ftgmac100.c
drivers/net/ethernet/faraday/ftmac100.c
drivers/net/ethernet/seeq/sgiseeq.c
drivers/net/ethernet/sgi/meth.c