#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/regulator/coupler.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
static int regulator_get_optimal_voltage(struct regulator_dev *rdev,
int *current_uV,
int *min_uV, int *max_uV,
suspend_state_t state)
{ … }
static int exynos_coupler_balance_voltage(struct regulator_coupler *coupler,
struct regulator_dev *rdev,
suspend_state_t state)
{ … }
static int exynos_coupler_attach(struct regulator_coupler *coupler,
struct regulator_dev *rdev)
{ … }
static struct regulator_coupler exynos_coupler = …;
static int __init exynos_coupler_init(void)
{ … }
arch_initcall(exynos_coupler_init);