+ w1-omap-hdq-convert-to-module_platform_driver.patch added to -mm tree

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

 



The patch titled
     Subject: drivers/w1/masters/omap_hdq.c: convert to module_platform_driver
has been added to the -mm tree.  Its filename is
     w1-omap-hdq-convert-to-module_platform_driver.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: Felipe Balbi <balbi@xxxxxx>
Subject: drivers/w1/masters/omap_hdq.c: convert to module_platform_driver

Trivial patch, no functional changes.

Signed-off-by: Felipe Balbi <balbi@xxxxxx>
Cc: Evgeniy Polyakov <zbr@xxxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/w1/masters/omap_hdq.c |   14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff -puN drivers/w1/masters/omap_hdq.c~w1-omap-hdq-convert-to-module_platform_driver drivers/w1/masters/omap_hdq.c
--- a/drivers/w1/masters/omap_hdq.c~w1-omap-hdq-convert-to-module_platform_driver
+++ a/drivers/w1/masters/omap_hdq.c
@@ -652,19 +652,7 @@ static int __devexit omap_hdq_remove(str
 	return 0;
 }
 
-static int __init
-omap_hdq_init(void)
-{
-	return platform_driver_register(&omap_hdq_driver);
-}
-module_init(omap_hdq_init);
-
-static void __exit
-omap_hdq_exit(void)
-{
-	platform_driver_unregister(&omap_hdq_driver);
-}
-module_exit(omap_hdq_exit);
+module_platform_driver(omap_hdq_driver);
 
 module_param(w1_id, int, S_IRUSR);
 MODULE_PARM_DESC(w1_id, "1-wire id for the slave detection");
_

Patches currently in -mm which might be from balbi@xxxxxx are

linux-next.patch
w1-omap-hdq-add-section-annotation-to-remove.patch
w1-omap-hdq-dont-hardcode-resource-size.patch
w1-omap-hdq-convert-to-module_platform_driver.patch
w1-omap-hdq-convert-to-devm_-functions.patch
w1-omap-hdq-remove-unnecessary-return.patch
w1-omap-hdq-drop-arch-dependency.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