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

RFID node is not used and should not be used by kernel, so remove the
kernel devicetree 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 v2] ARM: protonic-imx6: do not expose RFID to the kernel dts
  2021-07-15 12:37 [PATCH v2] ARM: protonic-imx6: do not expose RFID to the kernel dts Oleksij Rempel
@ 2021-07-18  5:06 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2021-07-18  5:06 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: barebox, david

On Thu, Jul 15, 2021 at 02:37:47PM +0200, Oleksij Rempel wrote:
> RFID node is not used and should not be used by kernel, so remove the
> kernel devicetree fixup.
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  arch/arm/boards/protonic-imx6/board.c | 6 ------
>  1 file changed, 6 deletions(-)

Applied, thanks

Sascha

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

-- 
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-18  5:08 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:37 [PATCH v2] ARM: protonic-imx6: do not expose RFID to the kernel dts Oleksij Rempel
2021-07-18  5:06 ` Sascha Hauer

mail archive of the barebox mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lore.barebox.org/barebox/0 barebox/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 barebox barebox/ https://lore.barebox.org/barebox \
		barebox@lists.infradead.org barebox@lists.infradead.org
	public-inbox-index barebox

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git