05 Dec, 2013

1 commit


22 Nov, 2012

2 commits


06 Sep, 2012

1 commit

  • 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
    Acked-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Devendra Naga
     

19 Apr, 2012

1 commit