The patch titled Subject: rtc-s5m-allow-usage-on-device-type-different-than-main-mfd-type-v2 has been added to the -mm tree. Its filename is rtc-s5m-allow-usage-on-device-type-different-than-main-mfd-type-v2.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/rtc-s5m-allow-usage-on-device-type-different-than-main-mfd-type-v2.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/rtc-s5m-allow-usage-on-device-type-different-than-main-mfd-type-v2.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: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx> Subject: rtc-s5m-allow-usage-on-device-type-different-than-main-mfd-type-v2 Consistently use platform_get_device_id() instead of pdev->id_entry. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Cc: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> Cc: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> Cc: Chanwoo Choi <cw00.choi@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-s5m.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/rtc/rtc-s5m.c~rtc-s5m-allow-usage-on-device-type-different-than-main-mfd-type-v2 drivers/rtc/rtc-s5m.c --- a/drivers/rtc/rtc-s5m.c~rtc-s5m-allow-usage-on-device-type-different-than-main-mfd-type-v2 +++ a/drivers/rtc/rtc-s5m.c @@ -669,7 +669,7 @@ static int s5m_rtc_probe(struct platform default: dev_err(&pdev->dev, "Device type %lu is not supported by RTC driver\n", - pdev->id_entry->driver_data); + platform_get_device_id(pdev)->driver_data); return -ENODEV; } @@ -689,7 +689,7 @@ static int s5m_rtc_probe(struct platform info->dev = &pdev->dev; info->s5m87xx = s5m87xx; - info->device_type = pdev->id_entry->driver_data; + info->device_type = platform_get_device_id(pdev)->driver_data; if (s5m87xx->irq_data) { info->irq = regmap_irq_get_virq(s5m87xx->irq_data, alarm_irq); _ Patches currently in -mm which might be from k.kozlowski@xxxxxxxxxxx are rtc-rtc-ab-b5ze-s3-constify-struct-regmap_config.patch linux-next.patch rtc-s5m-allow-usage-on-device-type-different-than-main-mfd-type.patch rtc-s5m-allow-usage-on-device-type-different-than-main-mfd-type-v2.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