linux/drivers/regulator/dummy.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * dummy.c
 *
 * Copyright 2010 Wolfson Microelectronics PLC.
 *
 * Author: Mark Brown <[email protected]>
 *
 * This is useful for systems with mixed controllable and
 * non-controllable regulators, as well as for allowing testing on
 * systems with no controllable regulators.
 */

#include <linux/err.h>
#include <linux/export.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>

#include "dummy.h"

struct regulator_dev *dummy_regulator_rdev;

static const struct regulator_init_data dummy_initdata =;

static const struct regulator_ops dummy_ops;

static const struct regulator_desc dummy_desc =;

static int dummy_regulator_probe(struct platform_device *pdev)
{}

static struct platform_driver dummy_regulator_driver =;

static struct platform_device *dummy_pdev;

void __init regulator_dummy_init(void)
{}