diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 20:02:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 20:02:07 -0500 |
commit | 40d7ee5d162203b40b5f4fbb312ab016edddb97f (patch) | |
tree | 432db33df85f7f244676127a189a828dfbf2877b /drivers/s390/crypto/ap_bus.c | |
parent | 5fec8bdbf9a1c4df4ad3f20e52aa2d8caed490c8 (diff) | |
parent | b8ac9fc0e8cda9f9776019c5b0464b0c6d2d4c90 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (60 commits)
uio: make uio_info's name and version const
UIO: Documentation for UIO ioport info handling
UIO: Pass information about ioports to userspace (V2)
UIO: uio_pdrv_genirq: allow custom irq_flags
UIO: use pci_ioremap_bar() in drivers/uio
arm: struct device - replace bus_id with dev_name(), dev_set_name()
libata: struct device - replace bus_id with dev_name(), dev_set_name()
avr: struct device - replace bus_id with dev_name(), dev_set_name()
block: struct device - replace bus_id with dev_name(), dev_set_name()
chris: struct device - replace bus_id with dev_name(), dev_set_name()
dmi: struct device - replace bus_id with dev_name(), dev_set_name()
gadget: struct device - replace bus_id with dev_name(), dev_set_name()
gpio: struct device - replace bus_id with dev_name(), dev_set_name()
gpu: struct device - replace bus_id with dev_name(), dev_set_name()
hwmon: struct device - replace bus_id with dev_name(), dev_set_name()
i2o: struct device - replace bus_id with dev_name(), dev_set_name()
IA64: struct device - replace bus_id with dev_name(), dev_set_name()
i7300_idle: struct device - replace bus_id with dev_name(), dev_set_name()
infiniband: struct device - replace bus_id with dev_name(), dev_set_name()
ISDN: struct device - replace bus_id with dev_name(), dev_set_name()
...
Diffstat (limited to 'drivers/s390/crypto/ap_bus.c')
-rw-r--r-- | drivers/s390/crypto/ap_bus.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index 1f5f5d2d87d9..9c148406b980 100644 --- a/drivers/s390/crypto/ap_bus.c +++ b/drivers/s390/crypto/ap_bus.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include <linux/notifier.h> | 36 | #include <linux/notifier.h> |
37 | #include <linux/kthread.h> | 37 | #include <linux/kthread.h> |
38 | #include <linux/mutex.h> | 38 | #include <linux/mutex.h> |
39 | #include <asm/s390_rdev.h> | ||
40 | #include <asm/reset.h> | 39 | #include <asm/reset.h> |
41 | #include <asm/airq.h> | 40 | #include <asm/airq.h> |
42 | #include <asm/atomic.h> | 41 | #include <asm/atomic.h> |
@@ -1522,7 +1521,7 @@ int __init ap_module_init(void) | |||
1522 | } | 1521 | } |
1523 | 1522 | ||
1524 | /* Create /sys/devices/ap. */ | 1523 | /* Create /sys/devices/ap. */ |
1525 | ap_root_device = s390_root_dev_register("ap"); | 1524 | ap_root_device = root_device_register("ap"); |
1526 | rc = IS_ERR(ap_root_device) ? PTR_ERR(ap_root_device) : 0; | 1525 | rc = IS_ERR(ap_root_device) ? PTR_ERR(ap_root_device) : 0; |
1527 | if (rc) | 1526 | if (rc) |
1528 | goto out_bus; | 1527 | goto out_bus; |
@@ -1565,7 +1564,7 @@ out_work: | |||
1565 | hrtimer_cancel(&ap_poll_timer); | 1564 | hrtimer_cancel(&ap_poll_timer); |
1566 | destroy_workqueue(ap_work_queue); | 1565 | destroy_workqueue(ap_work_queue); |
1567 | out_root: | 1566 | out_root: |
1568 | s390_root_dev_unregister(ap_root_device); | 1567 | root_device_unregister(ap_root_device); |
1569 | out_bus: | 1568 | out_bus: |
1570 | while (i--) | 1569 | while (i--) |
1571 | bus_remove_file(&ap_bus_type, ap_bus_attrs[i]); | 1570 | bus_remove_file(&ap_bus_type, ap_bus_attrs[i]); |
@@ -1600,7 +1599,7 @@ void ap_module_exit(void) | |||
1600 | hrtimer_cancel(&ap_poll_timer); | 1599 | hrtimer_cancel(&ap_poll_timer); |
1601 | destroy_workqueue(ap_work_queue); | 1600 | destroy_workqueue(ap_work_queue); |
1602 | tasklet_kill(&ap_tasklet); | 1601 | tasklet_kill(&ap_tasklet); |
1603 | s390_root_dev_unregister(ap_root_device); | 1602 | root_device_unregister(ap_root_device); |
1604 | while ((dev = bus_find_device(&ap_bus_type, NULL, NULL, | 1603 | while ((dev = bus_find_device(&ap_bus_type, NULL, NULL, |
1605 | __ap_match_all))) | 1604 | __ap_match_all))) |
1606 | { | 1605 | { |