Name

regulator_is_enabled_regmap — standard is_enabled for regmap users

Synopsis

int regulator_is_enabled_regmap (struct regulator_dev * rdev);
 

Arguments

rdev

regulator to operate on

Description

Regulators that use regmap for their register I/O can set the enable_reg and enable_mask fields in their descriptor and then use this as their is_enabled operation, saving some code.