* [PATCH] MTD: nand: Convert au1550nd to use module_platform_driver()
@ 2011-12-01 14:04 Axel Lin
2011-12-04 14:15 ` Artem Bityutskiy
0 siblings, 1 reply; 3+ messages in thread
From: Axel Lin @ 2011-12-01 14:04 UTC (permalink / raw)
To: linux-mips; +Cc: Manuel Lauss, linux-mtd, Ralf Baechle, Artem Bityutskiy
Cc: Manuel Lauss <manuel.lauss@googlemail.com>
Cc: Artem Bityutskiy <dedekind1@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
Hi Ralf,
This patch converts au1550nd to use module_platform_driver().
You have committed a5bd32fd "MTD: nand: make au1550nd.c a platform_driver".
Currently this patch can only apply to either your tree or linux-next.
Could you help to take it.
( committed a5bd32fd does not exist in l2-mtd-2.6.git,
so Artem cannot apply it.)
Thanks,
Axel
drivers/mtd/nand/au1550nd.c | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c
index 77fb4e6..73abbc3 100644
--- a/drivers/mtd/nand/au1550nd.c
+++ b/drivers/mtd/nand/au1550nd.c
@@ -560,17 +560,7 @@ static struct platform_driver au1550nd_driver = {
.remove = __devexit_p(au1550nd_remove),
};
-static int __init au1550nd_load(void)
-{
- return platform_driver_register(&au1550nd_driver);
-};
-
-static void __exit au1550nd_exit(void)
-{
- platform_driver_unregister(&au1550nd_driver);
-};
-module_init(au1550nd_load);
-module_exit(au1550nd_exit);
+module_platform_driver(au1550nd_driver);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Embedded Edge, LLC");
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] MTD: nand: Convert au1550nd to use module_platform_driver()
2011-12-01 14:04 [PATCH] MTD: nand: Convert au1550nd to use module_platform_driver() Axel Lin
@ 2011-12-04 14:15 ` Artem Bityutskiy
2011-12-08 10:45 ` Ralf Baechle
0 siblings, 1 reply; 3+ messages in thread
From: Artem Bityutskiy @ 2011-12-04 14:15 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-mips, Manuel Lauss, linux-mtd, Ralf Baechle
[-- Attachment #1: Type: text/plain, Size: 694 bytes --]
On Thu, 2011-12-01 at 22:04 +0800, Axel Lin wrote:
> Cc: Manuel Lauss <manuel.lauss@googlemail.com>
> Cc: Artem Bityutskiy <dedekind1@gmail.com>
> Cc: Ralf Baechle <ralf@linux-mips.org>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> Hi Ralf,
> This patch converts au1550nd to use module_platform_driver().
> You have committed a5bd32fd "MTD: nand: make au1550nd.c a platform_driver".
> Currently this patch can only apply to either your tree or linux-next.
> Could you help to take it.
> ( committed a5bd32fd does not exist in l2-mtd-2.6.git,
> so Artem cannot apply it.)
Yes, please, merge the au1550nd.c piece via Ralf, thanks!
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] MTD: nand: Convert au1550nd to use module_platform_driver()
2011-12-04 14:15 ` Artem Bityutskiy
@ 2011-12-08 10:45 ` Ralf Baechle
0 siblings, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2011-12-08 10:45 UTC (permalink / raw)
To: Artem Bityutskiy; +Cc: linux-mips, Axel Lin, linux-mtd, Manuel Lauss
On Sun, Dec 04, 2011 at 04:15:32PM +0200, Artem Bityutskiy wrote:
> > Hi Ralf,
> > This patch converts au1550nd to use module_platform_driver().
> > You have committed a5bd32fd "MTD: nand: make au1550nd.c a platform_driver".
> > Currently this patch can only apply to either your tree or linux-next.
> > Could you help to take it.
> > ( committed a5bd32fd does not exist in l2-mtd-2.6.git,
> > so Artem cannot apply it.)
>
> Yes, please, merge the au1550nd.c piece via Ralf, thanks!
No point in adding code to change it again first commit so I've folded
this patch into "MTD: nand: make au1550nd.c a platform_driver".
Thanks folks!
Ralf
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-08 10:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01 14:04 [PATCH] MTD: nand: Convert au1550nd to use module_platform_driver() Axel Lin
2011-12-04 14:15 ` Artem Bityutskiy
2011-12-08 10:45 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).