diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-12 18:36:15 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-12 18:36:15 -0400 |
commit | 17528b31c5e2b2d40bb52954af88849303ebb915 (patch) | |
tree | 70ca684e33a6579d12d5a887c86bfd3f74894e14 /drivers/tty/serial/8250 | |
parent | 9a9ca16e7a36a9daa93f6d2cf912170091d91ed6 (diff) | |
parent | 71150d226564686ef32d15d29edfd18346f6e929 (diff) |
Merge branch 'pnp'
* pnp:
PNP: Avoid leaving unregistered device objects in lists
PNP: Convert pnp_lock into a mutex
PNP: tty/serial/8250/8250_fintek: Use module_pnp_driver to register driver
PNP: platform/x86/apple-gmux: Use module_pnp_driver to register driver
PNP: net/sb1000: Use module_pnp_driver to register driver
PNP: media/rc: Use module_pnp_driver to register driver
PNP: ide/ide-pnp: Use module_pnp_driver to register driver
PNP: ata/pata_isapnp: Use module_pnp_driver to register driver
PNP: tpm/tpm_infineon: Use module_pnp_driver to register driver
PNP: Add helper macro for pnp_register_driver boilerplate
PNP / ACPI: Use ACPI_COMPANION_SET() during initialization
Diffstat (limited to 'drivers/tty/serial/8250')
-rw-r--r-- | drivers/tty/serial/8250/8250_fintek.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/tty/serial/8250/8250_fintek.c b/drivers/tty/serial/8250/8250_fintek.c index 1e6899bc9429..5815e81b5fc6 100644 --- a/drivers/tty/serial/8250/8250_fintek.c +++ b/drivers/tty/serial/8250/8250_fintek.c | |||
@@ -234,18 +234,7 @@ static struct pnp_driver fintek_8250_driver = { | |||
234 | .id_table = fintek_dev_table, | 234 | .id_table = fintek_dev_table, |
235 | }; | 235 | }; |
236 | 236 | ||
237 | static int fintek_8250_init(void) | 237 | module_pnp_driver(fintek_8250_driver); |
238 | { | ||
239 | return pnp_register_driver(&fintek_8250_driver); | ||
240 | } | ||
241 | module_init(fintek_8250_init); | ||
242 | |||
243 | static void fintek_8250_exit(void) | ||
244 | { | ||
245 | pnp_unregister_driver(&fintek_8250_driver); | ||
246 | } | ||
247 | module_exit(fintek_8250_exit); | ||
248 | |||
249 | MODULE_DESCRIPTION("Fintek F812164 module"); | 238 | MODULE_DESCRIPTION("Fintek F812164 module"); |
250 | MODULE_AUTHOR("Ricardo Ribalda <ricardo.ribalda@gmail.com>"); | 239 | MODULE_AUTHOR("Ricardo Ribalda <ricardo.ribalda@gmail.com>"); |
251 | MODULE_LICENSE("GPL"); | 240 | MODULE_LICENSE("GPL"); |