Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1592758

Re: [PATCH] iio: magnetometer: ak8974: remove incorrect __exit markups

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] iio: magnetometer: ak8974: remove incorrect __exit markups
Date 2017-03-05 14:00 +0100
Message-ID <thDVv-py-3@gated-at.bofh.it> (permalink)
References <tgmal-1Yy-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 2, 2017 at 12:37 AM, Dmitry Torokhov
<dmitry.torokhov@gmail.com> wrote:

> 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>

Thanks!
Linus Walleij

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] iio: magnetometer: ak8974: remove incorrect __exit markups Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-02 00:50 +0100
  Re: [PATCH] iio: magnetometer: ak8974: remove incorrect __exit  markups Jonathan Cameron <jic23@kernel.org> - 2017-03-05 12:30 +0100
  Re: [PATCH] iio: magnetometer: ak8974: remove incorrect __exit markups Linus Walleij <linus.walleij@linaro.org> - 2017-03-05 14:00 +0100
    Re: [PATCH] iio: magnetometer: ak8974: remove incorrect __exit  markups Jonathan Cameron <jic23@kernel.org> - 2017-03-05 15:10 +0100

csiph-web