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


Groups > linux.kernel > #1595602

Re: [PATCH] rtc: omap: remove incorrect __exit markups

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] rtc: omap: remove incorrect __exit markups
Date 2017-03-09 01:40 +0100
Message-ID <tiUhA-5JZ-13@gated-at.bofh.it> (permalink)
References <tgm0F-1V5-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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


Thread

[PATCH] rtc: omap: remove incorrect __exit markups Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-02 00:40 +0100
  Re: [PATCH] rtc: omap: remove incorrect __exit markups Sebastian Reichel <sre@kernel.org> - 2017-03-02 01:30 +0100
  Re: [PATCH] rtc: omap: remove incorrect __exit markups Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-03-09 01:40 +0100

csiph-web