aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sp5100_tco.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-11 16:13:55 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-11 16:13:55 -0500
commitcff2f741b8ee8a70b208830e330de053efd4fc45 (patch)
tree83367ed74d889e2c8179f1f8b5d6f6f73b857982 /drivers/watchdog/sp5100_tco.c
parentb0885d01f9ab1274109c02942c881d598f939623 (diff)
parent92e9e6d1f9844b73a26215025a922e7d7aeae361 (diff)
Merge tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core updates from Greg Kroah-Hartman: "Here's the large driver core updates for 3.8-rc1. The biggest thing here is the various __dev* marking removals. This is going to be a pain for the merge with different subsystem trees, I know, but all of the patches included here have been ACKed by their various subsystem maintainers, as they wanted them to go through here. If this is too much of a pain, I can pull all of them out of this tree and just send you one with the other fixes/updates and then, after 3.8-rc1 is out, do the rest of the removals to ensure we catch them all, it's up to you. The merges should all be trivial, and Stephen has been doing them all in linux-next for a few weeks now quite easily. Other than the __dev* marking removals, there's nothing major here, some firmware loading updates and other minor things in the driver core. All of these have (much to Stephen's annoyance), been in linux-next for a while. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>" Fixed up trivial conflicts in drivers/gpio/gpio-{em,stmpe}.c due to gpio update. * tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (93 commits) modpost.c: Stop checking __dev* section mismatches init.h: Remove __dev* sections from the kernel acpi: remove use of __devinit PCI: Remove __dev* markings PCI: Always build setup-bus when PCI is enabled PCI: Move pci_uevent into pci-driver.c PCI: Remove CONFIG_HOTPLUG ifdefs unicore32/PCI: Remove CONFIG_HOTPLUG ifdefs sh/PCI: Remove CONFIG_HOTPLUG ifdefs powerpc/PCI: Remove CONFIG_HOTPLUG ifdefs mips/PCI: Remove CONFIG_HOTPLUG ifdefs microblaze/PCI: Remove CONFIG_HOTPLUG ifdefs dma: remove use of __devinit dma: remove use of __devexit_p firewire: remove use of __devinitdata firewire: remove use of __devinit leds: remove use of __devexit leds: remove use of __devinit leds: remove use of __devexit_p mmc: remove use of __devexit ...
Diffstat (limited to 'drivers/watchdog/sp5100_tco.c')
-rw-r--r--drivers/watchdog/sp5100_tco.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/watchdog/sp5100_tco.c b/drivers/watchdog/sp5100_tco.c
index ae5e82cb83fa..b3876812ff07 100644
--- a/drivers/watchdog/sp5100_tco.c
+++ b/drivers/watchdog/sp5100_tco.c
@@ -271,7 +271,7 @@ MODULE_DEVICE_TABLE(pci, sp5100_tco_pci_tbl);
271 * Init & exit routines 271 * Init & exit routines
272 */ 272 */
273 273
274static unsigned char __devinit sp5100_tco_setupdevice(void) 274static unsigned char sp5100_tco_setupdevice(void)
275{ 275{
276 struct pci_dev *dev = NULL; 276 struct pci_dev *dev = NULL;
277 u32 val; 277 u32 val;
@@ -361,7 +361,7 @@ exit:
361 return 0; 361 return 0;
362} 362}
363 363
364static int __devinit sp5100_tco_init(struct platform_device *dev) 364static int sp5100_tco_init(struct platform_device *dev)
365{ 365{
366 int ret; 366 int ret;
367 u32 val; 367 u32 val;
@@ -412,7 +412,7 @@ exit:
412 return ret; 412 return ret;
413} 413}
414 414
415static void __devexit sp5100_tco_cleanup(void) 415static void sp5100_tco_cleanup(void)
416{ 416{
417 /* Stop the timer before we leave */ 417 /* Stop the timer before we leave */
418 if (!nowayout) 418 if (!nowayout)
@@ -425,7 +425,7 @@ static void __devexit sp5100_tco_cleanup(void)
425 release_region(pm_iobase, SP5100_PM_IOPORTS_SIZE); 425 release_region(pm_iobase, SP5100_PM_IOPORTS_SIZE);
426} 426}
427 427
428static int __devexit sp5100_tco_remove(struct platform_device *dev) 428static int sp5100_tco_remove(struct platform_device *dev)
429{ 429{
430 if (tcobase) 430 if (tcobase)
431 sp5100_tco_cleanup(); 431 sp5100_tco_cleanup();
@@ -439,7 +439,7 @@ static void sp5100_tco_shutdown(struct platform_device *dev)
439 439
440static struct platform_driver sp5100_tco_driver = { 440static struct platform_driver sp5100_tco_driver = {
441 .probe = sp5100_tco_init, 441 .probe = sp5100_tco_init,
442 .remove = __devexit_p(sp5100_tco_remove), 442 .remove = sp5100_tco_remove,
443 .shutdown = sp5100_tco_shutdown, 443 .shutdown = sp5100_tco_shutdown,
444 .driver = { 444 .driver = {
445 .owner = THIS_MODULE, 445 .owner = THIS_MODULE,