diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 15:25:09 -0400 |
commit | 890fbae2818a045350b8d1e3bda61ceb88ff1d17 (patch) | |
tree | cf57a61841780ed1ab6bffa3ea0bf7d8cdd999d0 /drivers | |
parent | 331b831983f9d706f4a40d08a996d5c2c7a6ea7b (diff) |
[PATCH] devfs: Last little devfs cleanups throughout the kernel tree.
Just removes a few unused #defines and fixes some comments due to
devfs now being gone.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/viodasd.c | 1 | ||||
-rw-r--r-- | drivers/cdrom/viocd.c | 1 | ||||
-rw-r--r-- | drivers/md/dm.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 11 |
4 files changed, 1 insertions, 14 deletions
diff --git a/drivers/block/viodasd.c b/drivers/block/viodasd.c index 5cc7e671b033..ec5a1b90a0a2 100644 --- a/drivers/block/viodasd.c +++ b/drivers/block/viodasd.c | |||
@@ -59,7 +59,6 @@ MODULE_LICENSE("GPL"); | |||
59 | * numbers 0-255 we get a maximum of 32 disks. | 59 | * numbers 0-255 we get a maximum of 32 disks. |
60 | */ | 60 | */ |
61 | #define VIOD_GENHD_NAME "iseries/vd" | 61 | #define VIOD_GENHD_NAME "iseries/vd" |
62 | #define VIOD_GENHD_DEVFS_NAME "iseries/disc" | ||
63 | 62 | ||
64 | #define VIOD_VERS "1.64" | 63 | #define VIOD_VERS "1.64" |
65 | 64 | ||
diff --git a/drivers/cdrom/viocd.c b/drivers/cdrom/viocd.c index f65597081171..54ca931e19ea 100644 --- a/drivers/cdrom/viocd.c +++ b/drivers/cdrom/viocd.c | |||
@@ -49,7 +49,6 @@ | |||
49 | #include <asm/iseries/vio.h> | 49 | #include <asm/iseries/vio.h> |
50 | 50 | ||
51 | #define VIOCD_DEVICE "iseries/vcd" | 51 | #define VIOCD_DEVICE "iseries/vcd" |
52 | #define VIOCD_DEVICE_DEVFS "iseries/vcd" | ||
53 | 52 | ||
54 | #define VIOCD_VERS "1.06" | 53 | #define VIOCD_VERS "1.06" |
55 | 54 | ||
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 3ed2e53b9eb6..c99bf9f01759 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -167,7 +167,7 @@ static void local_exit(void) | |||
167 | bioset_free(dm_set); | 167 | bioset_free(dm_set); |
168 | 168 | ||
169 | if (unregister_blkdev(_major, _name) < 0) | 169 | if (unregister_blkdev(_major, _name) < 0) |
170 | DMERR("devfs_unregister_blkdev failed"); | 170 | DMERR("unregister_blkdev failed"); |
171 | 171 | ||
172 | _major = 0; | 172 | _major = 0; |
173 | 173 | ||
diff --git a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index 14559ef6153c..336b2fe1a5f2 100644 --- a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | |||
@@ -126,10 +126,6 @@ struct ttusb { | |||
126 | 126 | ||
127 | int revision; | 127 | int revision; |
128 | 128 | ||
129 | #if 0 | ||
130 | devfs_handle_t stc_devfs_handle; | ||
131 | #endif | ||
132 | |||
133 | struct dvb_frontend* fe; | 129 | struct dvb_frontend* fe; |
134 | }; | 130 | }; |
135 | 131 | ||
@@ -1746,13 +1742,6 @@ static int ttusb_probe(struct usb_interface *intf, const struct usb_device_id *i | |||
1746 | return -ENODEV; | 1742 | return -ENODEV; |
1747 | } | 1743 | } |
1748 | 1744 | ||
1749 | #if 0 | ||
1750 | ttusb->stc_devfs_handle = | ||
1751 | devfs_register(ttusb->adapter->devfs_handle, TTUSB_BUDGET_NAME, | ||
1752 | DEVFS_FL_DEFAULT, 0, 192, | ||
1753 | S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | ||
1754 | | S_IROTH | S_IWOTH, &stc_fops, ttusb); | ||
1755 | #endif | ||
1756 | usb_set_intfdata(intf, (void *) ttusb); | 1745 | usb_set_intfdata(intf, (void *) ttusb); |
1757 | 1746 | ||
1758 | frontend_init(ttusb); | 1747 | frontend_init(ttusb); |