The patch titled Subject: drivers/rtc/rtc-ds2404.c: use module_platform_driver macro has been removed from the -mm tree. Its filename was rtc-ds2404-use-module_platform_driver-macro.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxx> Subject: drivers/rtc/rtc-ds2404.c: use module_platform_driver macro Remove removes some code duplication by using module_platform_driver(). Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-ds2404.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff -puN drivers/rtc/rtc-ds2404.c~rtc-ds2404-use-module_platform_driver-macro drivers/rtc/rtc-ds2404.c --- a/drivers/rtc/rtc-ds2404.c~rtc-ds2404-use-module_platform_driver-macro +++ a/drivers/rtc/rtc-ds2404.c @@ -283,19 +283,7 @@ static struct platform_driver rtc_device .owner = THIS_MODULE, }, }; - -static __init int ds2404_init(void) -{ - return platform_driver_register(&rtc_device_driver); -} - -static __exit void ds2404_exit(void) -{ - platform_driver_unregister(&rtc_device_driver); -} - -module_init(ds2404_init); -module_exit(ds2404_exit); +module_platform_driver(rtc_device_driver); MODULE_DESCRIPTION("DS2404 RTC"); MODULE_AUTHOR("Sven Schnelle"); _ Patches currently in -mm which might be from srinivas.kandagatla@xxxxxx are origin.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