[merged] drivers-rtc-rtc-m41t93c-use-spi_get_drvdata-for-spi-devices.patch removed from -mm tree

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

 



The patch titled
     drivers/rtc/rtc-m41t93.c: use spi_get_drvdata() for SPI devices
has been removed from the -mm tree.  Its filename was
     drivers-rtc-rtc-m41t93c-use-spi_get_drvdata-for-spi-devices.patch

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

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: drivers/rtc/rtc-m41t93.c: use spi_get_drvdata() for SPI devices
From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

One new offender detected by the recently increased type checking in
platform_get_drvdata():

drivers/rtc/rtc-m41t93.c: In function `m41t93_remove':
drivers/rtc/rtc-m41t93.c:192: warning: passing argument 1 of `platform_get_drvdata' from incompatible pointer type

Use spi_get_drvdata() instead of platform_get_drvdata(), cfr.  commit
42fea15d6dc4 ("spi/rtc-{ds1390,ds3234,m41t94}: Use spi_get_drvdata() for
SPI devices")

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Cc: Nikolaus Voss <n.voss@xxxxxxxxxxx>
Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>
Cc: Grant Likely <grant.likely@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/rtc/rtc-m41t93.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/rtc/rtc-m41t93.c~drivers-rtc-rtc-m41t93c-use-spi_get_drvdata-for-spi-devices drivers/rtc/rtc-m41t93.c
--- a/drivers/rtc/rtc-m41t93.c~drivers-rtc-rtc-m41t93c-use-spi_get_drvdata-for-spi-devices
+++ a/drivers/rtc/rtc-m41t93.c
@@ -189,7 +189,7 @@ static int __devinit m41t93_probe(struct
 
 static int __devexit m41t93_remove(struct spi_device *spi)
 {
-	struct rtc_device *rtc = platform_get_drvdata(spi);
+	struct rtc_device *rtc = spi_get_drvdata(spi);
 
 	if (rtc)
 		rtc_device_unregister(rtc);
_

Patches currently in -mm which might be from geert@xxxxxxxxxxxxxx are

origin.patch
w1-w1_master_ds1wm-should-depend-on-generic_hardirqs.patch
mm-nommuc-fix-remap_pfn_range.patch
linux-next.patch
cris-fix-a-build-error-in-kernel-forkc.patch
cris-fix-a-build-error-in-sync_serial_open.patch
cris-fix-the-prototype-of-sync_serial_ioctl.patch
cris-add-missing-declaration-of-kgdb_init-and-breakpoint.patch
fb-fix-potential-deadlock-between-lock_fb_info-and-console_lock.patch
staging-iio-make-iio-depend-on-generic_hardirqs.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


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux