diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-03-01 17:24:47 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-02 14:33:49 -0800 |
commit | be12502e2e64854dbe0a2ddff6d26ec1143d6890 (patch) | |
tree | 147e0110de4d5228f09def2d8c112f69fb62b87c /scripts/Makefile.ubsan | |
parent | 7db92362d2fee5887f6b0c41653b8c9f8f5d6020 (diff) | |
download | linux-be12502e2e64854dbe0a2ddff6d26ec1143d6890.tar.bz2 |
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>
Diffstat (limited to 'scripts/Makefile.ubsan')
0 files changed, 0 insertions, 0 deletions