HomeFreeBSD

psm: properly check for atkbdc_open failure

Description

psm: properly check for atkbdc_open failure

atkbdc_open can return NULL if the unit's out of bounds or the softc isn't
setup. Check it to be safe.

Details

Provenance
kevansAuthored on
Parents
rS356224: Add curly braces missed in https://svnweb.freebsd.org/changeset/base/354773
Branches
Unknown
Tags
Unknown