HomeFreeBSD

psm: use make_dev_s instead of make_dev

Description

psm: use make_dev_s instead of make_dev

This most importantly reduces duplication, but it also removes any potential
race with usage of dev->si_drv1 since it's now set prior to the device being
constructed enough to be accessible.

Details

Provenance
kevansAuthored on
Parents
rS357509: psm: release resources on attach failure
Branches
Unknown
Tags
Unknown