[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
Removes the devfs_mk_cdev() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -1031,10 +1031,6 @@ static int __init bpp_init(void)
|
||||
instances[idx].opened = 0;
|
||||
probeLptPort(idx);
|
||||
}
|
||||
for (idx = 0; idx < BPP_NO; idx++) {
|
||||
devfs_mk_cdev(MKDEV(BPP_MAJOR, idx),
|
||||
S_IFCHR | S_IRUSR | S_IWUSR, "bpp/%d", idx);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@@ -164,10 +164,6 @@ int init_vfc_device(struct sbus_dev *sdev,struct vfc_dev *dev, int instance)
|
||||
return -EINVAL;
|
||||
if (init_vfc_hw(dev))
|
||||
return -EIO;
|
||||
|
||||
devfs_mk_cdev(MKDEV(VFC_MAJOR, instance),
|
||||
S_IFCHR | S_IRUSR | S_IWUSR,
|
||||
"vfc/%d", instance);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user