Devendra Naga
9c8dc10f48
misc: use module_spi_driver
...
The _init and _exit functions can be replaced with the module_spi_driver
macro, which actually implements
static int __init drv_init(void)
{
spi_register_driver(&driv_op);
return 0;
}
module_init(drv_init);
static void __exit drv_exit(void)
{
spi_unregister_driver(&driv_op);
}
module_exit(drv_exit);
Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-05 14:10:29 -07:00
..
2011-10-31 15:42:54 -07:00
2012-05-07 15:00:19 +02:00
2012-08-16 10:10:02 -07:00
2012-06-23 10:50:44 -06:00
2012-09-05 14:10:29 -07:00
2012-04-05 15:25:50 -07:00
2012-09-05 13:44:04 -07:00
2012-09-05 13:45:56 -07:00
2012-03-28 18:30:03 +01:00
2012-08-21 16:45:03 -07:00
2012-08-16 12:32:34 -07:00
2012-07-09 00:16:13 +02:00
2012-01-24 16:31:49 -08:00
2012-01-24 16:31:49 -08:00
2012-04-18 14:54:31 -07:00
2012-01-09 12:08:59 -08:00
2012-01-24 16:31:49 -08:00
2012-01-24 16:31:49 -08:00
2010-11-01 15:38:34 -04:00
2011-06-10 14:55:36 +02:00
2012-03-01 13:38:49 +01:00
2011-10-31 19:31:53 -04:00
2012-01-24 16:31:49 -08:00
2012-04-18 14:54:31 -07:00
2012-08-16 10:10:02 -07:00
2012-09-05 14:10:29 -07:00
2012-04-18 14:57:14 -07:00
2012-04-18 14:57:14 -07:00
2012-03-20 11:15:18 -07:00
2012-01-24 16:31:49 -08:00
2010-07-27 12:03:48 -05:00
2011-03-22 17:44:11 -07:00
2012-02-24 14:16:42 -08:00
2012-01-24 16:31:49 -08:00
2012-06-14 17:22:12 -07:00
2012-06-14 17:22:12 -07:00
2012-01-24 16:31:49 -08:00
2011-06-27 18:00:13 -07:00
2012-01-24 16:31:49 -08:00
2012-01-24 16:31:49 -08:00
2012-07-30 09:22:37 -07:00
2012-03-29 17:41:25 -05:00
2012-07-30 17:25:22 -07:00
2012-07-11 15:40:22 -04:00
2012-08-16 10:09:15 -07:00
2011-07-26 16:49:47 -07:00
2012-04-18 14:54:31 -07:00
2012-01-24 16:31:48 -08:00
2012-01-24 16:31:49 -08:00
2012-09-05 14:10:29 -07:00
2011-10-31 19:31:53 -04:00
2012-01-24 16:31:49 -08:00
2012-02-02 16:28:13 -08:00