|
Linux Kernel
3.7.1
|
#include <linux/regulator/machine.h>Go to the source code of this file.
Data Structures | |
| struct | wm8400_platform_data |
Macros | |
| #define | WM8400_LDO1 0 |
| #define | WM8400_LDO2 1 |
| #define | WM8400_LDO3 2 |
| #define | WM8400_LDO4 3 |
| #define | WM8400_DCDC1 4 |
| #define | WM8400_DCDC2 5 |
Functions | |
| int | wm8400_register_regulator (struct device *dev, int reg, struct regulator_init_data *initdata) |
| int wm8400_register_regulator | ( | struct device * | dev, |
| int | reg, | ||
| struct regulator_init_data * | initdata | ||
| ) |
wm8400_register_regulator - enable software control of a WM8400 regulator
This function enables software control of a WM8400 regulator via the regulator API. It is intended to be called from the platform_init() callback of the WM8400 MFD driver.
| dev | The WM8400 device to operate on. |
| reg | The regulator to control. |
| initdata | Regulator initdata for the regulator. |
Definition at line 278 of file wm8400-regulator.c.
1.8.2