[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171002101037.yzna7dpvyhrounaz@localhost.localdomain>
Date: Mon, 2 Oct 2017 11:10:37 +0100
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: <linus.walleij@...aro.org>
CC: <linux-gpio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<patches@...nsource.cirrus.com>
Subject: Re: [PATCH RFC 2/4] pinctrl: Rename mux group to group_or_pin to
prepare for pin support
On Fri, Sep 29, 2017 at 11:15:01AM +0100, Charles Keepax wrote:
> From: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
>
> To prepare for adding support for muxing individual pins rename the
> group member of the pinctrl_map_mux and pinctrl_setting_mux structs to
> group_or_pin.
>
> Signed-off-by: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
> ---
> include/linux/pinctrl/machine.h | 2 +-
> 28 files changed, 59 insertions(+), 50 deletions(-)
> diff --git a/include/linux/pinctrl/machine.h b/include/linux/pinctrl/machine.h
> index 7fa5d87190c2..ec58c3647eb8 100644
> --- a/include/linux/pinctrl/machine.h
> +++ b/include/linux/pinctrl/machine.h
> @@ -32,7 +32,7 @@ enum pinctrl_map_type {
> * @function: the mux function to select for the group
> */
> struct pinctrl_map_mux {
> - const char *group;
> + const char *group_or_pin;
> const char *function;
> };
One additional fix is required for PIN_MAP_MUX_GROUP in this
file.
Thanks,
Charles
Powered by blists - more mailing lists