HomeFreeBSD

gpiopower: Fix call to ofw_gpiobus_parse_gpios

Description

gpiopower: Fix call to ofw_gpiobus_parse_gpios

Failure is denoted by -1, not non-zero. A positive integer denotes the
number of pins mapped and configured.

Details

Provenance
jhibbitsAuthored on Apr 27 2022, 9:55 PM
Parents
rG00a80538b447: lacp: short timeout erroneously declares link-flapping
Branches
Unknown
Tags
Unknown