#include <linux/bug.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/regulator/driver.h>
#include <linux/mfd/wm8400-private.h>
Go to the source code of this file.
| module_exit |
( |
wm8400_regulator_exit |
| ) |
|
| subsys_initcall |
( |
wm8400_regulator_init |
| ) |
|
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.
- Parameters
-
| 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.