Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1398971
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/4] gpio: timberdale: make it explicitly non-modular |
| Date | 2016-05-11 13:50 +0200 |
| Message-ID | <rxAOl-7sm-5@gated-at.bofh.it> (permalink) |
| References | <rx3po-81T-15@gated-at.bofh.it> <rx3pp-81T-49@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, May 10, 2016 at 1:59 AM, Paul Gortmaker <paul.gortmaker@windriver.com> wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/gpio/Kconfig:config GPIO_TIMBERDALE > drivers/gpio/Kconfig: bool "Support for timberdale GPIO IP" > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove the modular code that is essentially orphaned, so that > when reading the driver there is no doubt it is builtin-only. > > We explicitly disallow a driver unbind, since that doesn't have a > sensible use case anyway, and it allows us to drop the ".remove" > code for non-modular drivers. > > Since module_platform_driver() uses the same init level priority as > builtin_platform_driver() the init ordering remains unchanged with > this commit. > > We also delete the MODULE_LICENSE tag etc. since all that information > was (or is now) contained at the top of the file in the comments. > > Cc: Linus Walleij <linus.walleij@linaro.org> > Cc: Alexandre Courbot <gnurou@gmail.com> > Cc: linux-gpio@vger.kernel.org > Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Patch applied. Yours, Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/4] gpio: batch #3: remove modular code from non-modular drivers Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-05-10 02:10 +0200
[PATCH 1/4] gpio: sodaville: make it explicitly non-modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-05-10 02:10 +0200
[PATCH 3/4] gpio: timberdale: make it explicitly non-modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-05-10 02:10 +0200
Re: [PATCH 3/4] gpio: timberdale: make it explicitly non-modular Linus Walleij <linus.walleij@linaro.org> - 2016-05-11 13:50 +0200
[PATCH 4/4] gpio: zevio: make it explicitly non-modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-05-10 02:10 +0200
csiph-web