]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
gpio: stm32: Remove .ofmatch callback
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 21 Jun 2019 13:39:25 +0000 (15:39 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Jul 2019 09:50:58 +0000 (11:50 +0200)
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

index e89707c01afa86b6d7095cd4360ca4e7b2503cd1..302a4349477a080b51e3fcf1b6a2bcf1b373fba4 100644 (file)
@@ -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,