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:08 -0400 |
commit | 96192ff1a9d0c6ef365d21667080259d83ea2f5b (patch) | |
tree | b13caa3bedb3cde8bd1beecfc3c76bac894df42a /drivers/char/mmtimer.c | |
parent | ff23eca3e8f613034e0d20ff86f6a89b62f5a14e (diff) |
[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>
Diffstat (limited to 'drivers/char/mmtimer.c')
-rw-r--r-- | drivers/char/mmtimer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/mmtimer.c b/drivers/char/mmtimer.c index f25168a9676d..95e8122b8068 100644 --- a/drivers/char/mmtimer.c +++ b/drivers/char/mmtimer.c | |||
@@ -693,7 +693,6 @@ static int __init mmtimer_init(void) | |||
693 | return -1; | 693 | return -1; |
694 | } | 694 | } |
695 | 695 | ||
696 | strcpy(mmtimer_miscdev.devfs_name, MMTIMER_NAME); | ||
697 | if (misc_register(&mmtimer_miscdev)) { | 696 | if (misc_register(&mmtimer_miscdev)) { |
698 | printk(KERN_ERR "%s: failed to register device\n", | 697 | printk(KERN_ERR "%s: failed to register device\n", |
699 | MMTIMER_NAME); | 698 | MMTIMER_NAME); |