The branch stable/14 has been updated by vexeduxr:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=32c90988d204ca2c7ede51de9474756db5be27d0

commit 32c90988d204ca2c7ede51de9474756db5be27d0
Author:     Ahmad Khalifa <vexed...@freebsd.org>
AuthorDate: 2025-07-04 13:51:11 +0000
Commit:     Ahmad Khalifa <vexed...@freebsd.org>
CommitDate: 2025-07-07 18:47:12 +0000

    gpio: remove redundant calls to bus_attach_children
    
    gpiobus_attach_bus already calls it.
    
    Reviewed by:    mmel, imp, andrew
    Approved by:    imp (mentor)
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D51108
    
    (cherry picked from commit c2d8cca77152ebf72f488490163585be7e34eb0f)
---
 sys/arm/mv/mvebu_gpio.c     | 2 +-
 sys/arm/nvidia/tegra_gpio.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/arm/mv/mvebu_gpio.c b/sys/arm/mv/mvebu_gpio.c
index 001369bb3a02..3ade09e82d1a 100644
--- a/sys/arm/mv/mvebu_gpio.c
+++ b/sys/arm/mv/mvebu_gpio.c
@@ -810,7 +810,7 @@ mvebu_gpio_attach(device_t dev)
                return (ENXIO);
        }
 
-       return (bus_generic_attach(dev));
+       return (0);
 }
 
 static int
diff --git a/sys/arm/nvidia/tegra_gpio.c b/sys/arm/nvidia/tegra_gpio.c
index 29bc8624e27a..e37fd69a121e 100644
--- a/sys/arm/nvidia/tegra_gpio.c
+++ b/sys/arm/nvidia/tegra_gpio.c
@@ -824,7 +824,7 @@ tegra_gpio_attach(device_t dev)
                return (ENXIO);
        }
 
-       return (bus_generic_attach(dev));
+       return (0);
 }
 
 static int

Reply via email to