@@ -1271,14 +1271,12 @@ static int menelaus_probe(struct i2c_client *client,
/* Set output buffer strengths */
menelaus_write_reg(m, MENELAUS_MCT_CTRL1, 0x73);
- if (client->irq > 0) {
- err = devm_request_threaded_irq(&client->dev, client->irq, NULL,
- menelaus_irq, IRQF_ONESHOT, DRIVER_NAME, m);
- if (err) {
- dev_dbg(&client->dev, "can't get IRQ %d, err %d\n",
- client->irq, err);
- goto fail;
- }
+ err = devm_request_threaded_irq(&client->dev, client->irq, NULL,
+ menelaus_irq, IRQF_ONESHOT, DRIVER_NAME, m);
+ if (err) {
+ dev_dbg(&client->dev, "can't get IRQ %d, err %d\n",
+ client->irq, err);
+ goto fail;
}
pr_info("Menelaus rev %d.%d\n", rev >> 4, rev & 0x0f);