Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1592758
| Path | csiph.com!1.us.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Linus Walleij <linus.walleij@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] iio: magnetometer: ak8974: remove incorrect __exit markups |
| Date | Sun, 05 Mar 2017 14:00:02 +0100 |
| Message-ID | <thDVv-py-3@gated-at.bofh.it> (permalink) |
| References | <tgmal-1Yy-7@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/6ANsM8g/c+pilY9VQDFAGJsSNNk40Hnh5nMTPxz2c0=; b=aMnchTxrh2k0wmAAczSQ84DOrYGdL+JzZIVvqa1zv3l9EDW+8CPncBdvsu9ulf0yLf IZOcYbftUCFPgQr+WI5WXUjNsuSh+uOiyTu31elZGrAQ1/b+5VnGsHPkGp6zXN94UeDA SoncQf96WF6yEAoQ/nns3ehIV6iXiFyTweem0= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/6ANsM8g/c+pilY9VQDFAGJsSNNk40Hnh5nMTPxz2c0=; b=BbaF6MmT9dT3nwNiu8wutyiXpmNgTME23ZhE5S/V1KL7OFksCCeC0cxwKfqRQeMvlA 7hw2LT2c5K8A+IPnTSgFZkrTm742cgFt9W+L3/j978YRziia9b/6JBTM50zTQtUXkPdo nnlmr+Mp+rnDOis8fqvzH9/QJ/A6vr69EP5FNiuF9Gacn52oQquUdnJoY/RNhCO5SNST +9Shi0zIegUgtBabgqMcS4Icjwj3Bwg7eF/DIqKytFtqHFRlIgVRthUB/cr9+I/3GL6Y qf9U1zKxgZkRnr87mFLcdTw+QQQe2GiQgdoAlFD6dT9Kolw4AHUotuuPTBKUczL5BBRQ ejPg== |
| X-Gm-Message-State | AMke39lO7NFsrP4/MPGGRxByKVieQ6trt/STn6tcIQeajCeNK7UEAqHWdaZYXZ66r0GyT/EpWsi+hJjfv2LbPSGF |
| X-Received | by 10.36.83.209 with SMTP id n200mr10715856itb.9.1488718623314; Sun, 05 Mar 2017 04:57:03 -0800 (PST) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 15 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Jonathan Cameron <jic23@kernel.org>, Hartmut Knaack <knaack.h@gmx.de>, Lars-Peter Clausen <lars@metafoo.de>, Peter Meerwald-Stadler <pmeerw@pmeerw.net>, "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> |
| X-Original-Date | Sun, 5 Mar 2017 13:57:02 +0100 |
| X-Original-Message-ID | <CACRpkdYwdrSJD5YNc_PcHyC+Qy6Sq-4eCVwKHk20o0JTRDjT5w@mail.gmail.com> |
| X-Original-References | <20170301233757.GA10606@dtor-ws> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1592758 |
Show key headers only | 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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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