The patch titled From: Antonio Ospite <ospite@xxxxxxxxxxxxxxxxx> has been removed from the -mm tree. Its filename was rtc-driver-for-pcap2-pmic-get-pcap-data-from-the-parent-device.patch This patch was dropped because it was folded into rtc-driver-for-pcap2-pmic.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: From: Antonio Ospite <ospite@xxxxxxxxxxxxxxxxx> Right now the pcap core driver passes a reference to its pcap data abusing the subdrivers platform drvdata, this is not good. Get the reference directly from the parent device. This change was suggested by Mark Brown in http://www.spinics.net/lists/linux-input/msg04285.html Signed-off-by: Antonio Ospite <ospite@xxxxxxxxxxxxxxxxx> Cc: Daniel Ribeiro <drwyrm@xxxxxxxxx> Cc: guiming zhuo <gmzhuo@xxxxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-pcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/rtc/rtc-pcap.c~rtc-driver-for-pcap2-pmic-get-pcap-data-from-the-parent-device drivers/rtc/rtc-pcap.c --- a/drivers/rtc/rtc-pcap.c~rtc-driver-for-pcap2-pmic-get-pcap-data-from-the-parent-device +++ a/drivers/rtc/rtc-pcap.c @@ -154,7 +154,7 @@ static int __devinit pcap_rtc_probe(stru if (!pcap_rtc) return err; - pcap_rtc->pcap = platform_get_drvdata(pdev); + pcap_rtc->pcap = dev_get_drvdata(pdev->dev.parent); pcap_rtc->rtc = rtc_device_register("pcap", &pdev->dev, &pcap_rtc_ops, THIS_MODULE); _ Patches currently in -mm which might be from ospite@xxxxxxxxxxxxxxxxx are origin.patch pxa2xx_spi-register-earlier.patch rtc-driver-for-pcap2-pmic.patch rtc-driver-for-pcap2-pmic-get-pcap-data-from-the-parent-device.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html