REGULATOR_IS_ENABLED(9) API reference REGULATOR_IS_ENABLED(9)NAMEregulator_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.
AUTHORS
Liam Girdwood <lrg@slimlogic.co.uk>
Author.
Mark Brown <broonie@opensource.wolfsonmicro.com>
Wolfson Microelectronics,
Author.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 REGULATOR_IS_ENABLED(9)