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 Feb 4 2020, 6:45 PM
Parents
rGee20e0605a9f: psm: release resources on attach failure
Branches
Unknown
Tags
Unknown

Event Timeline