Re: [PATCH RFC 2/4] pinctrl: Rename mux group to group_or_pin to prepare for pin support

Charles Keepax
2017-10-02T10:10:43Z

On Fri, Sep 29, 2017 at 11:15:01AM +0100, Charles Keepax wrote:
> From: Charles Keepax <ckeepax@opensource.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@opensource.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