]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpio/gpio-pca953x.c
Merge tag 'drm-next-2020-01-30' of git://anongit.freedesktop.org/drm/drm
[linux.git] / drivers / gpio / gpio-pca953x.c
index 9853547e72766678e35f2f4fbab9e1fb908675bb..5638b4e5355f1f04088273230f677f7709b1edb6 100644 (file)
@@ -764,8 +764,7 @@ static int pca953x_irq_setup(struct pca953x_chip *chip, int irq_base)
 
        ret = devm_request_threaded_irq(&client->dev, client->irq,
                                        NULL, pca953x_irq_handler,
-                                       IRQF_TRIGGER_LOW | IRQF_ONESHOT |
-                                       IRQF_SHARED,
+                                       IRQF_ONESHOT | IRQF_SHARED,
                                        dev_name(&client->dev), chip);
        if (ret) {
                dev_err(&client->dev, "failed to request irq %d\n",
@@ -855,8 +854,6 @@ static int device_pca957x_init(struct pca953x_chip *chip, u32 invert)
        return ret;
 }
 
-static const struct of_device_id pca953x_dt_ids[];
-
 static int pca953x_probe(struct i2c_client *client,
                         const struct i2c_device_id *i2c_id)
 {