mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/4] of: remove non-existent of_match_ptr
Date: Thu,  6 Dec 2018 12:45:08 +0100	[thread overview]
Message-ID: <20181206114510.20643-2-l.stach@pengutronix.de> (raw)
In-Reply-To: <20181206114510.20643-1-l.stach@pengutronix.de>

It's only used in the !OFTREE stub functions, so can be safely removed.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 include/of_device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/of_device.h b/include/of_device.h
index e84fc9c37775..44c1c0f54551 100644
--- a/include/of_device.h
+++ b/include/of_device.h
@@ -41,7 +41,7 @@ static inline const struct of_device_id *__of_match_device(
 	return NULL;
 }
 #define of_match_device(matches, dev)	\
-	__of_match_device(of_match_ptr(matches), (dev))
+	__of_match_device(matches, (dev))
 
 #endif /* CONFIG_OF */
 
-- 
2.19.1


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

  reply	other threads:[~2018-12-06 11:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-06 11:45 [PATCH 1/4] ARM: imx: select OFDEVICE for VF610 Lucas Stach
2018-12-06 11:45 ` Lucas Stach [this message]
2018-12-06 11:45 ` [PATCH 3/4] ARM: at91: add architecture dependecy to KSZ9477_EVB board Lucas Stach
2018-12-06 11:45 ` [PATCH 4/4] scripts: imx-image: fix build with OpenSSL < 1.1.0 Lucas Stach
2018-12-07  6:54 ` [PATCH 1/4] ARM: imx: select OFDEVICE for VF610 Sascha Hauer
2018-12-07  8:18 ` Uwe Kleine-König
2018-12-07  9:01   ` Lucas Stach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181206114510.20643-2-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox