aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-12-09 14:35:45 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-12-11 10:49:14 +0100
commit725c1cb6987ad1258cc15792a55535a11308dc5a (patch)
tree43e3bd9102fa45dd9d385c939b52a857a2583b19 /drivers
parentgpio: pca953x: Don't hardcode irq trigger type (diff)
downloadlinux-dev-725c1cb6987ad1258cc15792a55535a11308dc5a.tar.xz
linux-dev-725c1cb6987ad1258cc15792a55535a11308dc5a.zip
gpio: pca953x: Remove redundant forward declaration
There is no need to have a forward declaration for pca953x_dt_ids[]. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/gpio-pca953x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index 40e48f7d83bb..24ffe78ffe71 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -860,8 +860,6 @@ out:
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)
{