Skip to contentSkip to conversation

drivers-rtc-rtc-snvsc-remove-redundant-of_match_ptr.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 13, 2013 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

Subject: [merged] drivers-rtc-rtc-snvsc-remove-redundant-of_match_ptr.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Wed, 13 Nov 2013 12:44:22 -0800

The patch titled
Subject: drivers/rtc/rtc-snvs.c: remove redundant of_match_ptr
has been removed from the -mm tree. Its filename was
drivers-rtc-rtc-snvsc-remove-redundant-of_match_ptr.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Sachin Kamat <[email protected]>
Subject: drivers/rtc/rtc-snvs.c: remove redundant of_match_ptr

The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed.

---

 drivers/rtc/rtc-snvs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-snvs.c renamed from drivers/rtc/rtc-snvs.c~drivers-rtc-rtc-snvsc-remove-redundant-of_match_ptr +1 -1
diff -puN drivers/rtc/rtc-snvs.c~drivers-rtc-rtc-snvsc-remove-redundant-of_match_ptr drivers/rtc/rtc-snvs.c
@@ -329,7 +329,7 @@ static struct platform_driver snvs_rtc_d
 		.name	= "snvs_rtc",
 		.owner	= THIS_MODULE,
 		.pm	= &snvs_rtc_pm_ops,
-		.of_match_table = of_match_ptr(snvs_dt_ids),
+		.of_match_table = snvs_dt_ids,
 	},
 	.probe		= snvs_rtc_probe,
 };

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch