[PATCH v1] ARM: protonic-imx6: do not expose RFID not to the kernel dts

Oleksij Rempel o.rempel at pengutronix.de
Thu Jul 15 05:35:59 PDT 2021


Ooops.. to many "not"s.

On Thu, Jul 15, 2021 at 02:34:18PM +0200, Oleksij Rempel wrote:
> RFID not is not used and should not be used by kernel, so remove the
> fixup.
> 
> Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
> ---
>  arch/arm/boards/protonic-imx6/board.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/arch/arm/boards/protonic-imx6/board.c b/arch/arm/boards/protonic-imx6/board.c
> index a718d54df4..6eb31a4bc4 100644
> --- a/arch/arm/boards/protonic-imx6/board.c
> +++ b/arch/arm/boards/protonic-imx6/board.c
> @@ -794,12 +794,6 @@ static int prt_imx6_probe(struct device_d *dev)
>  	if (ret)
>  		goto free_priv;
>  
> -	ret = of_register_fixup(prt_imx6_of_fixup, priv);
> -	if (ret) {
> -		dev_err(dev, "Failed to register fixup\n");
> -		goto free_priv;
> -	}
> -
>  	prt_priv = priv;
>  
>  	return 0;
> -- 
> 2.30.2
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list