aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/raw1394.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ieee1394/raw1394.c')
-rw-r--r--drivers/ieee1394/raw1394.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/ieee1394/raw1394.c b/drivers/ieee1394/raw1394.c
index a3093b79e284..1dadd5a15ba1 100644
--- a/drivers/ieee1394/raw1394.c
+++ b/drivers/ieee1394/raw1394.c
@@ -3160,9 +3160,9 @@ static int __init init_raw1394(void)
3160 hpsb_register_highlevel(&raw1394_highlevel); 3160 hpsb_register_highlevel(&raw1394_highlevel);
3161 3161
3162 if (IS_ERR 3162 if (IS_ERR
3163 (class_device_create 3163 (device_create(
3164 (hpsb_protocol_class, NULL, 3164 hpsb_protocol_class, NULL,
3165 MKDEV(IEEE1394_MAJOR, IEEE1394_MINOR_BLOCK_RAW1394 * 16), NULL, 3165 MKDEV(IEEE1394_MAJOR, IEEE1394_MINOR_BLOCK_RAW1394 * 16),
3166 RAW1394_DEVICE_NAME))) { 3166 RAW1394_DEVICE_NAME))) {
3167 ret = -EFAULT; 3167 ret = -EFAULT;
3168 goto out_unreg; 3168 goto out_unreg;
@@ -3189,9 +3189,9 @@ static int __init init_raw1394(void)
3189 goto out; 3189 goto out;
3190 3190
3191 out_dev: 3191 out_dev:
3192 class_device_destroy(hpsb_protocol_class, 3192 device_destroy(hpsb_protocol_class,
3193 MKDEV(IEEE1394_MAJOR, 3193 MKDEV(IEEE1394_MAJOR,
3194 IEEE1394_MINOR_BLOCK_RAW1394 * 16)); 3194 IEEE1394_MINOR_BLOCK_RAW1394 * 16));
3195 out_unreg: 3195 out_unreg:
3196 hpsb_unregister_highlevel(&raw1394_highlevel); 3196 hpsb_unregister_highlevel(&raw1394_highlevel);
3197 out: 3197 out:
@@ -3200,9 +3200,9 @@ static int __init init_raw1394(void)
3200 3200
3201static void __exit cleanup_raw1394(void) 3201static void __exit cleanup_raw1394(void)
3202{ 3202{
3203 class_device_destroy(hpsb_protocol_class, 3203 device_destroy(hpsb_protocol_class,
3204 MKDEV(IEEE1394_MAJOR, 3204 MKDEV(IEEE1394_MAJOR,
3205 IEEE1394_MINOR_BLOCK_RAW1394 * 16)); 3205 IEEE1394_MINOR_BLOCK_RAW1394 * 16));
3206 cdev_del(&raw1394_cdev); 3206 cdev_del(&raw1394_cdev);
3207 hpsb_unregister_highlevel(&raw1394_highlevel); 3207 hpsb_unregister_highlevel(&raw1394_highlevel);
3208 hpsb_unregister_protocol(&raw1394_driver); 3208 hpsb_unregister_protocol(&raw1394_driver);