diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2019-06-21 15:39:25 +0200 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2019-07-12 11:50:58 +0200 |
commit | 60bc487666bd9cbe8d1ab4e7c2290b08fe1b9e1d (patch) | |
tree | c5a6475fef783a97991099e3ae5412531d25ab3c /drivers/gpio/stm32_gpio.c | |
parent | 6084e96b99d97f5d8f381e48b2230f8e8178e44c (diff) | |
download | u-boot-60bc487666bd9cbe8d1ab4e7c2290b08fe1b9e1d.tar.gz u-boot-60bc487666bd9cbe8d1ab4e7c2290b08fe1b9e1d.tar.bz2 u-boot-60bc487666bd9cbe8d1ab4e7c2290b08fe1b9e1d.zip |
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 <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/gpio/stm32_gpio.c')
-rw-r--r-- | drivers/gpio/stm32_gpio.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpio/stm32_gpio.c b/drivers/gpio/stm32_gpio.c index e89707c01a..302a434947 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, |