regulator_can_change_voltage
Prev | Chapter 5. API reference | Next

## 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. Usefull for detecting fixed or dummy regulators and disabling voltage change logic in the client driver.

Prev | Up | Next
regulator_is_enabled | Home | regulator_count_voltages