diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-03-02 02:37:57 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-05 16:52:01 +0300 |
commit | 3ff861f59f6c1f5bf2bc03d2cd36ac3f992cbc06 (patch) | |
tree | 0cdebe545c4707a47451c727c06a895fb2661a0c /include/asm-generic/termios.h | |
parent | 3bec247474469f769af41e8c80d3a100dd97dd76 (diff) | |
download | linux-3ff861f59f6c1f5bf2bc03d2cd36ac3f992cbc06.tar.xz |
iio: magnetometer: ak8974: 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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/asm-generic/termios.h')
0 files changed, 0 insertions, 0 deletions