HomeFreeBSD

regulator: fix regnode_method_get_voltage

Description

regulator: fix regnode_method_get_voltage

This method is supposed to write the voltage into uvolt
and return an errno compatible value.

Reviewed by: mmel
Differential Revision: https://reviews.freebsd.org/D23006

Details

Provenance
manuAuthored on
Reviewer
mmel
Differential Revision
D23006: regulator: fix regnode_method_get_voltage
Parents
rS356486: rk805: Add regnode_status method
Branches
Unknown
Tags
Unknown