From: Patrice Chotard Date: Fri, 21 Jun 2019 13:39:25 +0000 (+0200) Subject: gpio: stm32: Remove .ofmatch callback X-Git-Tag: v2019.10-rc1~30^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60bc487666bd9cbe8d1ab4e7c2290b08fe1b9e1d;p=platform%2Fkernel%2Fu-boot.git gpio: stm32: Remove .ofmatch callback As compatible string "st,stm32-gpio" is no more used, .ofmatch callback becomes useless, remove it. Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- diff --git a/drivers/gpio/stm32_gpio.c b/drivers/gpio/stm32_gpio.c index e89707c..302a434 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,