error = matrix_keypad_build_keymap(keymap_data, NULL, rows, cols,
keypad_data->keymap, input);
if (error) {
- dev_dbg(dev, "Failed to build keymap\n");
+ dev_err(dev, "Failed to build keymap\n");
goto fail2;
}
IRQF_ONESHOT,
client->name, keypad_data);
if (error) {
- dev_dbg(dev, "Unable to claim irq %d; error %d\n",
+ dev_err(dev, "Unable to claim irq %d; error %d\n",
client->irq, error);
goto fail2;
}
error = input_register_device(input);
if (error) {
- dev_dbg(dev, "Unable to register input device, error: %d\n",
+ dev_err(dev, "Unable to register input device, error: %d\n",
error);
goto fail3;
}