Name

regulator_enable_regmap — standard enable for regmap users

Synopsis

int fsfuncregulator_enable_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 enable operation, saving some code.