|
|
@@ -2073,6 +2073,11 @@ static int __init dell_init(void)
|
|
|
if (ret)
|
|
|
goto fail_platform_device2;
|
|
|
|
|
|
+ buffer = kzalloc(sizeof(struct calling_interface_buffer), GFP_KERNEL);
|
|
|
+ if (!buffer)
|
|
|
+ goto fail_buffer;
|
|
|
+
|
|
|
+
|
|
|
ret = dell_setup_rfkill();
|
|
|
|
|
|
if (ret) {
|
|
|
@@ -2080,10 +2085,6 @@ static int __init dell_init(void)
|
|
|
goto fail_rfkill;
|
|
|
}
|
|
|
|
|
|
- buffer = kzalloc(sizeof(struct calling_interface_buffer), GFP_KERNEL);
|
|
|
- if (!buffer)
|
|
|
- goto fail_buffer;
|
|
|
-
|
|
|
if (quirks && quirks->touchpad_led)
|
|
|
touchpad_led_init(&platform_device->dev);
|
|
|
|