diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2025-01-02 18:20:21 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2025-01-02 18:20:21 +0000 |
| commit | 28f5e880e8b28d77cf1a4eb6ce2a766d3c5a3926 (patch) | |
| tree | 39812fca1b9a71057821f00fdaac0393ef5982c0 /sys/dev | |
| parent | e9d3857040a1983f6cf8780783da4da34773f660 (diff) | |
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/intpm/intpm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/intpm/intpm.c b/sys/dev/intpm/intpm.c index 6fc228ac0cd0..3aa76ff48263 100644 --- a/sys/dev/intpm/intpm.c +++ b/sys/dev/intpm/intpm.c @@ -202,8 +202,7 @@ intsmb_release_resources(device_t dev) { struct intsmb_softc *sc = device_get_softc(dev); - if (sc->smbus) - device_delete_child(dev, sc->smbus); + device_delete_children(dev); if (sc->irq_hand) bus_teardown_intr(dev, sc->irq_res, sc->irq_hand); if (sc->irq_res) |
