From: Andy Shevchenko Date: Mon, 9 Dec 2019 12:35:45 +0000 (+0200) Subject: gpio: pca953x: Remove redundant forward declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=725c1cb6987ad1258cc15792a55535a11308dc5a;p=linux.git gpio: pca953x: Remove redundant forward declaration There is no need to have a forward declaration for pca953x_dt_ids[]. Signed-off-by: Andy Shevchenko Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index 40e48f7d83bb3..24ffe78ffe717 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) {