Re: [PATCH] pinctrl: berlin: Drop superfluous ampersands

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

 



On Thu, Aug 24, 2023 at 12:05:50PM +0200, Geert Uytterhoeven wrote:
> There is no need to use an ampersand to take the address of a function.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Reviewed-by: Jisheng Zhang <jszhang@xxxxxxxxxx>

Hi Linus Walleij,

If it's not too late, could you please merge it?

Thanks in advance

> ---
>  drivers/pinctrl/berlin/berlin.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/pinctrl/berlin/berlin.c b/drivers/pinctrl/berlin/berlin.c
> index 1e427ea4d31bcbfc..9550cc8095c28720 100644
> --- a/drivers/pinctrl/berlin/berlin.c
> +++ b/drivers/pinctrl/berlin/berlin.c
> @@ -96,10 +96,10 @@ static int berlin_pinctrl_dt_node_to_map(struct pinctrl_dev *pctrl_dev,
>  }
>  
>  static const struct pinctrl_ops berlin_pinctrl_ops = {
> -	.get_groups_count	= &berlin_pinctrl_get_group_count,
> -	.get_group_name		= &berlin_pinctrl_get_group_name,
> -	.dt_node_to_map		= &berlin_pinctrl_dt_node_to_map,
> -	.dt_free_map		= &pinctrl_utils_free_map,
> +	.get_groups_count	= berlin_pinctrl_get_group_count,
> +	.get_group_name		= berlin_pinctrl_get_group_name,
> +	.dt_node_to_map		= berlin_pinctrl_dt_node_to_map,
> +	.dt_free_map		= pinctrl_utils_free_map,
>  };
>  
>  static int berlin_pinmux_get_functions_count(struct pinctrl_dev *pctrl_dev)
> -- 
> 2.34.1
> 



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux