diff mbox

[1/5] pinctrl: berlin: select the pinctrl driver according to the SoC used

Message ID 1444771901-24460-2-git-send-email-antoine.tenart@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Antoine Tenart Oct. 13, 2015, 9:31 p.m. UTC
This patch prepares to remove the pinctrl driver selection from the
mach-berlin Kconfig. To do so, bool is replaced by def_bool.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
---
 drivers/pinctrl/berlin/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Sebastian Hesselbarth Oct. 15, 2015, 9:47 p.m. UTC | #1
On 13.10.2015 23:31, Antoine Tenart wrote:
> This patch prepares to remove the pinctrl driver selection from the
> mach-berlin Kconfig. To do so, bool is replaced by def_bool.
>
> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>

Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>

> ---
>   drivers/pinctrl/berlin/Kconfig | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/pinctrl/berlin/Kconfig b/drivers/pinctrl/berlin/Kconfig
> index 740a13675fd1..7eb4bb615867 100644
> --- a/drivers/pinctrl/berlin/Kconfig
> +++ b/drivers/pinctrl/berlin/Kconfig
> @@ -6,15 +6,15 @@ config PINCTRL_BERLIN
>   	select REGMAP_MMIO
>
>   config PINCTRL_BERLIN_BG2
> -	bool
> +	def_bool MACH_BERLIN_BG2
>   	select PINCTRL_BERLIN
>
>   config PINCTRL_BERLIN_BG2CD
> -	bool
> +	def_bool MACH_BERLIN_BG2CD
>   	select PINCTRL_BERLIN
>
>   config PINCTRL_BERLIN_BG2Q
> -	bool
> +	def_bool MACH_BERLIN_BG2Q
>   	select PINCTRL_BERLIN
>
>   config PINCTRL_BERLIN_BG4CT
>
Linus Walleij Oct. 16, 2015, 2:09 p.m. UTC | #2
On Tue, Oct 13, 2015 at 11:31 PM, Antoine Tenart
<antoine.tenart@free-electrons.com> wrote:

> This patch prepares to remove the pinctrl driver selection from the
> mach-berlin Kconfig. To do so, bool is replaced by def_bool.
>
> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>

Patch applied with Sebastian's ACK.

Yours,
Linus Walleij
diff mbox

Patch

diff --git a/drivers/pinctrl/berlin/Kconfig b/drivers/pinctrl/berlin/Kconfig
index 740a13675fd1..7eb4bb615867 100644
--- a/drivers/pinctrl/berlin/Kconfig
+++ b/drivers/pinctrl/berlin/Kconfig
@@ -6,15 +6,15 @@  config PINCTRL_BERLIN
 	select REGMAP_MMIO
 
 config PINCTRL_BERLIN_BG2
-	bool
+	def_bool MACH_BERLIN_BG2
 	select PINCTRL_BERLIN
 
 config PINCTRL_BERLIN_BG2CD
-	bool
+	def_bool MACH_BERLIN_BG2CD
 	select PINCTRL_BERLIN
 
 config PINCTRL_BERLIN_BG2Q
-	bool
+	def_bool MACH_BERLIN_BG2Q
 	select PINCTRL_BERLIN
 
 config PINCTRL_BERLIN_BG4CT