Skip to contentSkip to conversation

+ drivers-pps-clients-pps-gpioc-remove-redundant-of_match_ptr.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Sep 30, 2013 PPS support

lore
Share & tools
lore
#0 lore raw

Subject: + drivers-pps-clients-pps-gpioc-remove-redundant-of_match_ptr.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Mon, 30 Sep 2013 14:17:11 -0700

The patch titled
Subject: drivers/pps/clients/pps-gpio.c: remove redundant of_match_ptr
has been added to the -mm tree. Its filename is
drivers-pps-clients-pps-gpioc-remove-redundant-of_match_ptr.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/drivers-pps-clients-pps-gpioc-remove-redundant-of_match_ptr.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/drivers-pps-clients-pps-gpioc-remove-redundant-of_match_ptr.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Sachin Kamat <[email protected]>
Subject: drivers/pps/clients/pps-gpio.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/pps/clients/pps-gpio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pps/clients/pps-gpio.c renamed from drivers/pps/clients/pps-gpio.c~drivers-pps-clients-pps-gpioc-remove-redundant-of_match_ptr +1 -1
diff -puN drivers/pps/clients/pps-gpio.c~drivers-pps-clients-pps-gpioc-remove-redundant-of_match_ptr drivers/pps/clients/pps-gpio.c
@@ -201,7 +201,7 @@ static struct platform_driver pps_gpio_d
 	.driver		= {
 		.name	= PPS_GPIO_NAME,
 		.owner	= THIS_MODULE,
-		.of_match_table	= of_match_ptr(pps_gpio_dt_ids),
+		.of_match_table	= pps_gpio_dt_ids,
 	},
 };
 

_

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

drivers-rtc-rtc-ds1307c-release-irq-on-error.patch drivers-rtc-rtc-isl1208c-remove-redundant-checks.patch drivers-rtc-rtc-max6900c-remove-redundant-checks.patch drivers-rtc-rtc-vt8500c-fix-return-value.patch drivers-rtc-rtc-at91rm9200c-use-devm_-apis.patch drivers-rtc-rtc-isl1208c-use-devm_-apis.patch drivers-rtc-rtc-sirfsocc-use-devm_rtc_device_register.patch drivers-rtc-rtc-cmosc-remove-redundant-dev_set_drvdata.patch drivers-rtc-rtc-mrstc-remove-redundant-dev_set_drvdata.patch drivers-rtc-rtc-vr41xxc-fix-checkpatch-warnings.patch drivers-pps-clients-pps-gpioc-remove-redundant-of_match_ptr.patch linux-next.patch