lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 27 Nov 2011 03:25:43 +0100 From: Micha <mirq-linux@...e.qmqm.pl> To: Axel Lin <axel.lin@...il.com> Cc: linux-kernel@...r.kernel.org, David Brown <davidb@...eaurora.org>, Ben Dooks <ben-linux@...ff.org>, Viresh Kumar <viresh.kumar@...com>, Guennadi Liakhovetski <g.liakhovetski@....de>, Ian Molton <ian@...menth.co.uk>, Sascha Hauer <s.hauer@...gutronix.de>, Wolfram Sang <w.sang@...gutronix.de>, Grant Likely <grant.likely@...retlab.ca>, Anton Vorontsov <cbouatmailru@...il.com>, Linus Walleij <linus.walleij@...aro.org>, Chris Ball <cjb@...top.org>, linux-mmc@...r.kernel.org Subject: Re: [PATCH] mmc: convert drivers/mmc/host/* to use module_platform_driver() On Sat, Nov 26, 2011 at 12:55:43PM +0800, Axel Lin wrote: > This patch converts the drivers in drivers/mmc/host/* to use the > module_platform_driver() macro which makes the code smaller and a bit > simpler. [...] > --- a/drivers/mmc/host/cb710-mmc.c > +++ b/drivers/mmc/host/cb710-mmc.c > @@ -780,18 +780,7 @@ static struct platform_driver cb710_mmc_driver = { > #endif > }; > > -static int __init cb710_mmc_init_module(void) > -{ > - return platform_driver_register(&cb710_mmc_driver); > -} > - > -static void __exit cb710_mmc_cleanup_module(void) > -{ > - platform_driver_unregister(&cb710_mmc_driver); > -} > - > -module_init(cb710_mmc_init_module); > -module_exit(cb710_mmc_cleanup_module); > +module_platform_driver(cb710_mmc_driver); No functional change, so: [for cb710] Acked-by: Michał Mirosław <mirq-linux@...e.qmqm.pl> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists