Messages in this thread | | | Subject | Re: [PATCH] iio: magnetometer: ak8974: remove incorrect __exit markups | From | Jonathan Cameron <> | Date | Sun, 5 Mar 2017 13:54:02 +0000 |
| |
On 05/03/17 12:57, Linus Walleij wrote: > 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> Added. > > Thanks! > Linus Walleij > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >
| |