mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
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>
This commit is contained in:
committed by
Patrick Delaunay
parent
6084e96b99
commit
60bc487666
@@ -210,15 +210,9 @@ static int gpio_stm32_probe(struct udevice *dev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct udevice_id stm32_gpio_ids[] = {
|
|
||||||
{ .compatible = "st,stm32-gpio" },
|
|
||||||
{ }
|
|
||||||
};
|
|
||||||
|
|
||||||
U_BOOT_DRIVER(gpio_stm32) = {
|
U_BOOT_DRIVER(gpio_stm32) = {
|
||||||
.name = "gpio_stm32",
|
.name = "gpio_stm32",
|
||||||
.id = UCLASS_GPIO,
|
.id = UCLASS_GPIO,
|
||||||
.of_match = stm32_gpio_ids,
|
|
||||||
.probe = gpio_stm32_probe,
|
.probe = gpio_stm32_probe,
|
||||||
#ifndef CONFIG_SPL_BUILD
|
#ifndef CONFIG_SPL_BUILD
|
||||||
.ops = &gpio_stm32_ops,
|
.ops = &gpio_stm32_ops,
|
||||||
|
Reference in New Issue
Block a user