Re: [PATCH] pinctrl: sh-pfc: r8a77995: Remove unused PINMUX_IPSR_{MSEL2,PHYS}()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 19, 2018 at 11:21:52AM +0100, Geert Uytterhoeven wrote:
> The PINMUX_IPSR_MSEL2() and PINMUX_IPSR_PHYS() macros are unused, and
> will conflict with generic macros that are to be added.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
> To be queued in sh-pfc-for-v4.21, before "pinctrl: sh-pfc: Add physical
> pin multiplexing helper macros".

Reviewed-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>

> 
>  drivers/pinctrl/sh-pfc/pfc-r8a77995.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a77995.c b/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> index 9484eaa8522aec6f..e457539a61c55bb9 100644
> --- a/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> +++ b/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> @@ -468,12 +468,6 @@ enum {
>  #undef FM
>  };
>  
> -#define PINMUX_IPSR_MSEL2(ipsr, fn, msel1, msel2) \
> -	PINMUX_DATA(fn##_MARK, FN_##msel1, FN_##msel2, FN_##fn, FN_##ipsr)
> -
> -#define PINMUX_IPSR_PHYS(ipsr, fn, msel) \
> -	PINMUX_DATA(fn##_MARK, FN_##msel)
> -
>  static const u16 pinmux_data[] = {
>  	PINMUX_DATA_GP_ALL(),
>  
> -- 
> 2.17.1
> 



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux