Message ID | 20220829131553.690063-7-nuno.sa@analog.com |
---|---|
State | Accepted |
Commit | 0063aecc61e1beec09611d830f4aae5a90a96c54 |
Headers | show |
Series | adp5588-keys refactor and fw properties support | expand |
diff --git a/drivers/input/keyboard/adp5588-keys.c b/drivers/input/keyboard/adp5588-keys.c index 2b00bc0f174c..e716efbb2105 100644 --- a/drivers/input/keyboard/adp5588-keys.c +++ b/drivers/input/keyboard/adp5588-keys.c @@ -727,11 +727,6 @@ static int adp5588_probe(struct i2c_client *client, return -EIO; } - if (!client->irq) { - dev_err(&client->dev, "no IRQ?\n"); - return -EINVAL; - } - kpad = devm_kzalloc(&client->dev, sizeof(*kpad), GFP_KERNEL); if (!kpad) return -ENOMEM;