[PATCH] devfs: Remove the miscdevice devfs_name field as it's no longer needed
Also fixes all drivers that set this field. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -693,7 +693,6 @@ static int __init mmtimer_init(void)
|
||||
return -1;
|
||||
}
|
||||
|
||||
strcpy(mmtimer_miscdev.devfs_name, MMTIMER_NAME);
|
||||
if (misc_register(&mmtimer_miscdev)) {
|
||||
printk(KERN_ERR "%s: failed to register device\n",
|
||||
MMTIMER_NAME);
|
||||
|
Reference in New Issue
Block a user