diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 17:19:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 17:19:21 -0400 |
commit | 602cada851b28c5792339786efe872fbdc1f5d41 (patch) | |
tree | 233d474b74d6038b5bb54a07ad91dd1bb10b0218 /drivers/sbus/char/vfc_dev.c | |
parent | 82991c6f2c361acc17279b8124d9bf1878973435 (diff) | |
parent | fee68d1cc0d9bd863e51c16cdcd707737b16bb38 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6: (22 commits)
[PATCH] devfs: Remove it from the feature_removal.txt file
[PATCH] devfs: Last little devfs cleanups throughout the kernel tree.
[PATCH] devfs: Rename TTY_DRIVER_NO_DEVFS to TTY_DRIVER_DYNAMIC_DEV
[PATCH] devfs: Remove the tty_driver devfs_name field as it's no longer needed
[PATCH] devfs: Remove the line_driver devfs_name field as it's no longer needed
[PATCH] devfs: Remove the videodevice devfs_name field as it's no longer needed
[PATCH] devfs: Remove the gendisk devfs_name field as it's no longer needed
[PATCH] devfs: Remove the miscdevice devfs_name field as it's no longer needed
[PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree
[PATCH] devfs: Remove devfs_remove() function from the kernel tree
[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
[PATCH] devfs: Remove devfs_mk_bdev() function from the kernel tree
[PATCH] devfs: Remove devfs_mk_symlink() function from the kernel tree
[PATCH] devfs: Remove devfs_mk_dir() function from the kernel tree
[PATCH] devfs: Remove devfs_*_tape() functions from the kernel tree
[PATCH] devfs: Remove devfs support from the sound subsystem
[PATCH] devfs: Remove devfs support from the ide subsystem.
[PATCH] devfs: Remove devfs support from the serial subsystem
[PATCH] devfs: Remove devfs from the init code
[PATCH] devfs: Remove devfs from the partition code
...
Diffstat (limited to 'drivers/sbus/char/vfc_dev.c')
-rw-r--r-- | drivers/sbus/char/vfc_dev.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/sbus/char/vfc_dev.c b/drivers/sbus/char/vfc_dev.c index ddcd330b9e89..55b2b31bd7ab 100644 --- a/drivers/sbus/char/vfc_dev.c +++ b/drivers/sbus/char/vfc_dev.c | |||
@@ -164,10 +164,6 @@ int init_vfc_device(struct sbus_dev *sdev,struct vfc_dev *dev, int instance) | |||
164 | return -EINVAL; | 164 | return -EINVAL; |
165 | if (init_vfc_hw(dev)) | 165 | if (init_vfc_hw(dev)) |
166 | return -EIO; | 166 | return -EIO; |
167 | |||
168 | devfs_mk_cdev(MKDEV(VFC_MAJOR, instance), | ||
169 | S_IFCHR | S_IRUSR | S_IWUSR, | ||
170 | "vfc/%d", instance); | ||
171 | return 0; | 167 | return 0; |
172 | } | 168 | } |
173 | 169 | ||
@@ -677,7 +673,6 @@ static int vfc_probe(void) | |||
677 | kfree(vfc_dev_lst); | 673 | kfree(vfc_dev_lst); |
678 | return -EIO; | 674 | return -EIO; |
679 | } | 675 | } |
680 | devfs_mk_dir("vfc"); | ||
681 | instance = 0; | 676 | instance = 0; |
682 | for_all_sbusdev(sdev, sbus) { | 677 | for_all_sbusdev(sdev, sbus) { |
683 | if (strcmp(sdev->prom_name, "vfc") == 0) { | 678 | if (strcmp(sdev->prom_name, "vfc") == 0) { |
@@ -717,7 +712,6 @@ static void deinit_vfc_device(struct vfc_dev *dev) | |||
717 | { | 712 | { |
718 | if(dev == NULL) | 713 | if(dev == NULL) |
719 | return; | 714 | return; |
720 | devfs_remove("vfc/%d", dev->instance); | ||
721 | sbus_iounmap(dev->regs, sizeof(struct vfc_regs)); | 715 | sbus_iounmap(dev->regs, sizeof(struct vfc_regs)); |
722 | kfree(dev); | 716 | kfree(dev); |
723 | } | 717 | } |
@@ -731,7 +725,6 @@ void cleanup_module(void) | |||
731 | for (devp = vfc_dev_lst; *devp; devp++) | 725 | for (devp = vfc_dev_lst; *devp; devp++) |
732 | deinit_vfc_device(*devp); | 726 | deinit_vfc_device(*devp); |
733 | 727 | ||
734 | devfs_remove("vfc"); | ||
735 | kfree(vfc_dev_lst); | 728 | kfree(vfc_dev_lst); |
736 | return; | 729 | return; |
737 | } | 730 | } |