aboutsummaryrefslogtreecommitdiff
path: root/drivers/message/i2o/iop.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2005-09-29 00:40:07 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 09:52:51 -0700
commit7bd7b091429705eb281d60c553cc643aada8045a (patch)
tree09f4559ad780b81a3c3a72a5d8d1d3278b01807b /drivers/message/i2o/iop.c
parent607cf4d9aa1d766890f42fc892d39d48cf6d6c16 (diff)
[PATCH] I2O: remove i2o_device_class
I2O: cleanup - remove i2o_device_class I2O devices reside on their own bus so there should be no reason to also have i2c_device class that mirros i2o bus. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/message/i2o/iop.c')
-rw-r--r--drivers/message/i2o/iop.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/message/i2o/iop.c b/drivers/message/i2o/iop.c
index 15deb45ce99..176fb573ea2 100644
--- a/drivers/message/i2o/iop.c
+++ b/drivers/message/i2o/iop.c
@@ -1243,14 +1243,10 @@ static int __init i2o_iop_init(void)
printk(KERN_INFO OSM_DESCRIPTION " v" OSM_VERSION "\n");
- rc = i2o_device_init();
- if (rc)
- goto exit;
-
i2o_controller_class = class_create(THIS_MODULE, "i2o_controller");
if (IS_ERR(i2o_controller_class)) {
osm_err("can't register class i2o_controller\n");
- goto device_exit;
+ goto exit;
}
if ((rc = i2o_driver_init()))
@@ -1273,9 +1269,6 @@ static int __init i2o_iop_init(void)
class_exit:
class_destroy(i2o_controller_class);
- device_exit:
- i2o_device_exit();
-
exit:
return rc;
}
@@ -1291,7 +1284,6 @@ static void __exit i2o_iop_exit(void)
i2o_exec_exit();
i2o_driver_exit();
class_destroy(i2o_controller_class);
- i2o_device_exit();
};
module_init(i2o_iop_init);