HomeFreeBSD

bhnd_chipc: Make use of bus_generic_rman_* to simplify some code

Description

bhnd_chipc: Make use of bus_generic_rman_* to simplify some code

This uses bus_generic_rman_alloc/release_resource to reduce some code
duplication. However, I've left the custom activate/deactivate
methods as-is.

Differential Revision: https://reviews.freebsd.org/D43939

Details

Provenance
jhbAuthored on Feb 27 2024, 7:44 PM
Differential Revision
D43939: bhnd_chipc: Make use of bus_generic_rman_* to simplify some code
Parents
rGb25f03a1a272: bhnd_usb: Use bus_generic_rman_*
Branches
Unknown
Tags
Unknown