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

(cherry picked from commit 3a48dfe115f35abac6c2d9ec03a6a574baeaf0bc)

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
rG189d06c37731: bhnd_usb: Use bus_generic_rman_*
Branches
Unknown
Tags
Unknown