[lkml]   [2017]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] iio: magnetometer: ak8974: remove incorrect __exit markups
On Thu, Mar 2, 2017 at 12:37 AM, Dmitry Torokhov
<> 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 <>

Reviewed-by: Linus Walleij <>

Linus Walleij

 \ /
  Last update: 2017-03-05 13:57    [W:0.047 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site