opnsense-src/sys/dev/iicbus
John Baldwin 3ddaf8200b Use bus_generic_detach instead of device_delete_children in detach
While here, check for errors from bus_generic_detach and move it to
the start of detach if necessary.

Differential Revision:	https://reviews.freebsd.org/D47969
2025-01-02 13:24:28 -05:00
..
adc sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
controller Remove now-redundant calls to device_delete_children 2025-01-02 13:22:50 -05:00
gpio sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mux Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
pmic Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
pwm sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
rtc DS3231: converstion -> conversion 2024-10-22 19:23:45 +01:00
sensor sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
acpi_iicbus.c newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
icee.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_ic.c net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
iic.c newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
iic.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iic_recover_bus.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
iic_recover_bus.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iicbb.c Use the new bus_generic_detach directly in place of home-grown versions 2025-01-02 13:22:20 -05:00
iicbb_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
iicbus.c Use bus_generic_detach instead of device_delete_children in detach 2025-01-02 13:24:28 -05:00
iicbus.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iicbus_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
iichid.c Use bus_generic_detach instead of device_delete_children in detach 2025-01-02 13:24:28 -05:00
iiconf.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
iiconf.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iicsmb.c Remove now-redundant calls to device_delete_children 2025-01-02 13:22:50 -05:00
ofw_iicbus.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
ofw_iicbus_if.m spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00