Message ID | 20190621133925.8643-5-patrice.chotard@st.com |
---|---|
State | Accepted |
Commit | 60bc487666bd9cbe8d1ab4e7c2290b08fe1b9e1d |
Delegated to: | Patrick Delaunay |
Headers | show |
Series | STM32 gpio/pinctrl update | expand |
Hi Patrice, > From: Patrice CHOTARD <patrice.chotard@st.com> > Sent: vendredi 21 juin 2019 15:39 > > As compatible string "st,stm32-gpio" is no more used, .ofmatch callback becomes > useless, remove it. > > Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com> > --- > > drivers/gpio/stm32_gpio.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/drivers/gpio/stm32_gpio.c b/drivers/gpio/stm32_gpio.c index > 5c9f2fe64d..226f350b1a 100644 > --- a/drivers/gpio/stm32_gpio.c > +++ b/drivers/gpio/stm32_gpio.c > @@ -210,15 +210,9 @@ static int gpio_stm32_probe(struct udevice *dev) > return 0; > } > > -static const struct udevice_id stm32_gpio_ids[] = { > - { .compatible = "st,stm32-gpio" }, > - { } > -}; > - > U_BOOT_DRIVER(gpio_stm32) = { > .name = "gpio_stm32", > .id = UCLASS_GPIO, > - .of_match = stm32_gpio_ids, > .probe = gpio_stm32_probe, > #ifndef CONFIG_SPL_BUILD > .ops = &gpio_stm32_ops, > -- > 2.17.1 Regards Patrick
diff --git a/drivers/gpio/stm32_gpio.c b/drivers/gpio/stm32_gpio.c index 5c9f2fe64d..226f350b1a 100644 --- a/drivers/gpio/stm32_gpio.c +++ b/drivers/gpio/stm32_gpio.c @@ -210,15 +210,9 @@ static int gpio_stm32_probe(struct udevice *dev) return 0; } -static const struct udevice_id stm32_gpio_ids[] = { - { .compatible = "st,stm32-gpio" }, - { } -}; - U_BOOT_DRIVER(gpio_stm32) = { .name = "gpio_stm32", .id = UCLASS_GPIO, - .of_match = stm32_gpio_ids, .probe = gpio_stm32_probe, #ifndef CONFIG_SPL_BUILD .ops = &gpio_stm32_ops,
As compatible string "st,stm32-gpio" is no more used, .ofmatch callback becomes useless, remove it. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> --- drivers/gpio/stm32_gpio.c | 6 ------ 1 file changed, 6 deletions(-)