]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/platform/x86/toshiba_acpi.c
Merge branch 'acpi-cleanup'
[karo-tx-linux.git] / drivers / platform / x86 / toshiba_acpi.c
index b5f17eb7ad2ea0f208ba6a707c7aa70054d8881c..7ad1ed091f9225fc572a1b70fde9ecf622d06ad1 100644 (file)
@@ -973,10 +973,8 @@ static int toshiba_acpi_setup_keyboard(struct toshiba_acpi_dev *dev)
        u32 hci_result;
 
        dev->hotkey_dev = input_allocate_device();
-       if (!dev->hotkey_dev) {
-               pr_info("Unable to register input device\n");
+       if (!dev->hotkey_dev)
                return -ENOMEM;
-       }
 
        dev->hotkey_dev->name = "Toshiba input device";
        dev->hotkey_dev->phys = "toshiba_acpi/input0";