diff options
-rw-r--r-- | drivers/platform/x86/dell-laptop.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index a561f653cf13..94a2f259031c 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c | |||
@@ -2176,9 +2176,8 @@ static int __init dell_init(void) | |||
2176 | kbd_led_init(&platform_device->dev); | 2176 | kbd_led_init(&platform_device->dev); |
2177 | 2177 | ||
2178 | dell_laptop_dir = debugfs_create_dir("dell_laptop", NULL); | 2178 | dell_laptop_dir = debugfs_create_dir("dell_laptop", NULL); |
2179 | if (dell_laptop_dir != NULL) | 2179 | debugfs_create_file("rfkill", 0444, dell_laptop_dir, NULL, |
2180 | debugfs_create_file("rfkill", 0444, dell_laptop_dir, NULL, | 2180 | &dell_debugfs_fops); |
2181 | &dell_debugfs_fops); | ||
2182 | 2181 | ||
2183 | dell_laptop_register_notifier(&dell_laptop_notifier); | 2182 | dell_laptop_register_notifier(&dell_laptop_notifier); |
2184 | 2183 | ||