Name

regulator_disable_regmap — standard disable for regmap users

Synopsis

int regulator_disable_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 disable operation, saving some code.