linux/drivers/bus/simple-pm-bus.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Simple Power-Managed Bus Driver
 *
 * Copyright (C) 2014-2015 Glider bvba
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 */

#include <linux/clk.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>

struct simple_pm_bus {};

static int simple_pm_bus_probe(struct platform_device *pdev)
{}

static void simple_pm_bus_remove(struct platform_device *pdev)
{}

static int simple_pm_bus_runtime_suspend(struct device *dev)
{}

static int simple_pm_bus_runtime_resume(struct device *dev)
{}

static const struct dev_pm_ops simple_pm_bus_pm_ops =;

#define ONLY_BUS

static const struct of_device_id simple_pm_bus_of_match[] =;
MODULE_DEVICE_TABLE(of, simple_pm_bus_of_match);

static struct platform_driver simple_pm_bus_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();