mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v1] ARM: protonic-imx6: do not expose RFID not to the kernel dts
@ 2021-07-15 12:34 Oleksij Rempel
  2021-07-15 12:35 ` [PATCH v1] ARM: protonic-imx6: do not expose RFID not to the kernel dts^[ Oleksij Rempel
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksij Rempel @ 2021-07-15 12:34 UTC (permalink / raw)
  To: barebox, david; +Cc: Oleksij Rempel

RFID not is not used and should not be used by kernel, so remove the
fixup.

Signed-off-by: Oleksij Rempel <o.rempel@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] ARM: protonic-imx6: do not expose RFID not to the kernel dts^[
  2021-07-15 12:34 [PATCH v1] ARM: protonic-imx6: do not expose RFID not to the kernel dts Oleksij Rempel
@ 2021-07-15 12:35 ` Oleksij Rempel
  0 siblings, 0 replies; 2+ messages in thread
From: Oleksij Rempel @ 2021-07-15 12:35 UTC (permalink / raw)
  To: barebox, david

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@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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-15 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15 12:34 [PATCH v1] ARM: protonic-imx6: do not expose RFID not to the kernel dts Oleksij Rempel
2021-07-15 12:35 ` [PATCH v1] ARM: protonic-imx6: do not expose RFID not to the kernel dts^[ Oleksij Rempel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox