HomeFreeBSD

bhnd_bus_*_resource: Remove redundant type and rid arguments

Description

bhnd_bus_*_resource: Remove redundant type and rid arguments

Remove type and rid arguments from
bhnd_bus_(activate|deactivate|release)_resource. This should have
been done earlier to match the changes made to bus_release_resource,
etc.

While fixing up the callers, remove rid members from softc structures
since the only time a value is needed is as a constant input to
bhnd_bus_alloc_resource*.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D53410

Details

Provenance
jhbAuthored on Tue, Dec 9, 8:03 PM
Reviewer
imp
Differential Revision
D53410: bhnd_bus_*_resource: Remove redundant type and rid arguments
Parents
rG1033312267d6: bhnd_bus_alloc_resource*: Pass rid by value
Branches
Unknown
Tags
Unknown