[PATCH 2/4] of: remove non-existent of_match_ptr

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

 



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

Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux