stmpe-spi.c (593d0a3e9f813db910dc50574532914db21d09ff) | stmpe-spi.c (84449216b01f9c2b4c9b1882f9d6abba07b7b7ca) |
---|---|
1/* 2 * ST Microelectronics MFD: stmpe's spi client specific driver 3 * 4 * Copyright (C) ST Microelectronics SA 2011 5 * 6 * License Terms: GNU General Public License, version 2 7 * Author: Viresh Kumar <viresh.linux@gmail.com> for ST Microelectronics 8 */ --- 114 unchanged lines hidden (view full) --- 123 .driver = { 124 .name = "stmpe-spi", 125 .owner = THIS_MODULE, 126#ifdef CONFIG_PM 127 .pm = &stmpe_dev_pm_ops, 128#endif 129 }, 130 .probe = stmpe_spi_probe, | 1/* 2 * ST Microelectronics MFD: stmpe's spi client specific driver 3 * 4 * Copyright (C) ST Microelectronics SA 2011 5 * 6 * License Terms: GNU General Public License, version 2 7 * Author: Viresh Kumar <viresh.linux@gmail.com> for ST Microelectronics 8 */ --- 114 unchanged lines hidden (view full) --- 123 .driver = { 124 .name = "stmpe-spi", 125 .owner = THIS_MODULE, 126#ifdef CONFIG_PM 127 .pm = &stmpe_dev_pm_ops, 128#endif 129 }, 130 .probe = stmpe_spi_probe, |
131 .remove = __devexit_p(stmpe_spi_remove), | 131 .remove = stmpe_spi_remove, |
132 .id_table = stmpe_spi_id, 133}; 134 135static int __init stmpe_init(void) 136{ 137 return spi_register_driver(&stmpe_spi_driver); 138} 139subsys_initcall(stmpe_init); 140 141static void __exit stmpe_exit(void) 142{ 143 spi_unregister_driver(&stmpe_spi_driver); 144} 145module_exit(stmpe_exit); 146 147MODULE_LICENSE("GPL v2"); 148MODULE_DESCRIPTION("STMPE MFD SPI Interface Driver"); 149MODULE_AUTHOR("Viresh Kumar <viresh.linux@gmail.com>"); | 132 .id_table = stmpe_spi_id, 133}; 134 135static int __init stmpe_init(void) 136{ 137 return spi_register_driver(&stmpe_spi_driver); 138} 139subsys_initcall(stmpe_init); 140 141static void __exit stmpe_exit(void) 142{ 143 spi_unregister_driver(&stmpe_spi_driver); 144} 145module_exit(stmpe_exit); 146 147MODULE_LICENSE("GPL v2"); 148MODULE_DESCRIPTION("STMPE MFD SPI Interface Driver"); 149MODULE_AUTHOR("Viresh Kumar <viresh.linux@gmail.com>"); |