The GPIO line names are fairly unhelpful, other than describing them as out lines only ... but otherwise ... Having multiple gpio devices with the same names reports conflicts. so lets just remove them. Signed-off-by: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx> --- drivers/media/i2c/max9286.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/media/i2c/max9286.c b/drivers/media/i2c/max9286.c index c8ca1245df4b..66201dc4b7f7 100644 --- a/drivers/media/i2c/max9286.c +++ b/drivers/media/i2c/max9286.c @@ -1019,11 +1019,6 @@ static int max9286_register_gpio(struct max9286_priv *priv) struct gpio_chip *gpio = &priv->gpio; int ret; - static const char * const names[] = { - "GPIO0OUT", - "GPIO1OUT", - }; - /* Configure the GPIO */ gpio->label = dev_name(dev); gpio->parent = dev; @@ -1034,7 +1029,6 @@ static int max9286_register_gpio(struct max9286_priv *priv) gpio->set = max9286_gpio_set; gpio->get = max9286_gpio_get; gpio->can_sleep = true; - gpio->names = names; /* GPIO values default to high */ priv->gpio_state = BIT(0) | BIT(1); -- 2.25.1