HomeFreeBSD

Don't call pwmbus_attach_bus(), because it may not be present if this

Description

Don't call pwmbus_attach_bus(), because it may not be present if this
driver is compiled into the kernel but pwmbus will be loaded as a module
when needed (and because of that, pwmbus_attach_bus() is going away in
the near future). Instead, just directly do what that function did:
register the fdt xfef handle, and attach the pwmbus.

Details

Provenance
ianAuthored on Jun 15 2019, 4:56 PM
Parents
rG5ef9c1079e8d: In detach(), check for failure of bus_generic_detach(), only release
Branches
Unknown
Tags
Unknown

Event Timeline