[merged] drivers-rtc-rtc-tilec-add-missing-platform_device_unregister-when-module-exits.patch removed from -mm tree

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

 



The patch titled
     Subject: drivers/rtc/rtc-tile.c: add missing platform_device_unregister() when module exits
has been removed from the -mm tree.  Its filename was
     drivers-rtc-rtc-tilec-add-missing-platform_device_unregister-when-module-exits.patch

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

------------------------------------------------------
From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
Subject: drivers/rtc/rtc-tile.c: add missing platform_device_unregister() when module exits

We have registered platform device when module init, and need to unregister
it when the module exits.

Signed-off-by: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
Cc: Jingoo Han <jg1.han@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/rtc/rtc-tile.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/rtc/rtc-tile.c~drivers-rtc-rtc-tilec-add-missing-platform_device_unregister-when-module-exits drivers/rtc/rtc-tile.c
--- a/drivers/rtc/rtc-tile.c~drivers-rtc-rtc-tilec-add-missing-platform_device_unregister-when-module-exits
+++ a/drivers/rtc/rtc-tile.c
@@ -146,6 +146,7 @@ exit_driver_unregister:
  */
 static void __exit tile_rtc_driver_exit(void)
 {
+	platform_device_unregister(tile_rtc_platform_device);
 	platform_driver_unregister(&tile_rtc_platform_driver);
 }
 
_

Patches currently in -mm which might be from yongjun_wei@xxxxxxxxxxxxxxxxx are

origin.patch
linux-next.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