lkml.org 
[lkml]   [2017]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] rtc: omap: remove incorrect __exit markups
    On 01/03/2017 at 15:33:23 -0800, 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 <dmitry.torokhov@gmail.com>
    > ---
    > drivers/rtc/rtc-omap.c | 4 ++--
    > 1 file changed, 2 insertions(+), 2 deletions(-)
    >
    Applied, thanks.

    --
    Alexandre Belloni, Free Electrons
    Embedded Linux and Kernel engineering
    http://free-electrons.com

    \
     
     \ /
      Last update: 2017-03-09 01:35    [W:5.005 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site