1REGULATOR_IS_ENABLED(9)          API reference         REGULATOR_IS_ENABLED(9)
2
3
4

NAME

6       regulator_is_enabled - is the regulator output enabled
7

SYNOPSIS

9       int regulator_is_enabled(struct regulator * regulator);
10

ARGUMENTS

12       regulator
13           regulator source
14

DESCRIPTION

16       Returns positive if the regulator driver backing the source/client has
17       requested that the device be enabled, zero if it hasn't, else a
18       negative errno code.
19
20       Note that the device backing this regulator handle can have multiple
21       users, so it might be enabled even if regulator_enable was never called
22       for this particular source.
23

AUTHORS

25       Liam Girdwood <lrg@slimlogic.co.uk>
26           Author.
27
28       Mark Brown <broonie@opensource.wolfsonmicro.com>
29       Wolfson Microelectronics,
30
31
32           Author.
33
35Kernel Hackers Manual 2.6.       November 2011         REGULATOR_IS_ENABLED(9)
Impressum