Name

regulator_can_change_voltage — check if regulator can change voltage

Synopsis

int regulator_can_change_voltage (struct regulator * regulator);
 

Arguments

regulator

regulator source

Description

Returns positive if the regulator driver backing the source/client can change its voltage, false otherwise. Useful for detecting fixed or dummy regulators and disabling voltage change logic in the client driver.