[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYU=eJU7Gs9QL34XduKPbNw9WtOW7b0x=DFHv2VQhN=3w@mail.gmail.com>
Date: Mon, 13 Feb 2017 14:25:35 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Paul Gortmaker <paul.gortmaker@...driver.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Antoine Ténart <antoine.tenart@...e-electrons.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Jisheng Zhang <jszhang@...vell.com>,
Hongzhou Yang <hongzhou.yang@...iatek.com>,
Thomas Hebb <tommyhebb@...il.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH 3/3] pinctrl: berlin: make bool drivers explicitly non-modular
On Mon, Feb 6, 2017 at 9:03 AM, Paul Gortmaker
<paul.gortmaker@...driver.com> wrote:
> None of the Kconfigs for any of these drivers are tristate,
> meaning that they currently are 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.
>
> Since module_platform_driver() uses the same init level priority as
> builtin_platform_driver() the init ordering remains unchanged with
> this commit.
>
> Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
>
> We also delete the MODULE_LICENSE tag etc. since all that information
> is already contained at the top of the file in the comments.
>
> Cc: Linus Walleij <linus.walleij@...aro.org>
> Cc: "Antoine Ténart" <antoine.tenart@...e-electrons.com>
> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>
> Cc: Jisheng Zhang <jszhang@...vell.com>
> Cc: Hongzhou Yang <hongzhou.yang@...iatek.com>
> Cc: Thomas Hebb <tommyhebb@...il.com>
> Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>
> Cc: linux-gpio@...r.kernel.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker@...driver.com>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists