Skip to content

Commit 725c1cb

Browse files
andy-shevbrgl
authored andcommitted
gpio: pca953x: Remove redundant forward declaration
There is no need to have a forward declaration for pca953x_dt_ids[]. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 55f8bbb commit 725c1cb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpio/gpio-pca953x.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,8 +860,6 @@ static int device_pca957x_init(struct pca953x_chip *chip, u32 invert)
860860
return ret;
861861
}
862862

863-
static const struct of_device_id pca953x_dt_ids[];
864-
865863
static int pca953x_probe(struct i2c_client *client,
866864
const struct i2c_device_id *i2c_id)
867865
{

0 commit comments

Comments
 (0)