linux/drivers/power/reset/syscon-poweroff.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Generic Syscon Poweroff Driver
 *
 * Copyright (c) 2015, National Instruments Corp.
 * Author: Moritz Fischer <[email protected]>
 */

#include <linux/delay.h>
#include <linux/io.h>
#include <linux/notifier.h>
#include <linux/mfd/syscon.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/reboot.h>
#include <linux/regmap.h>

struct syscon_poweroff_data {};

static int syscon_poweroff(struct sys_off_data *off_data)
{}

static int syscon_poweroff_probe(struct platform_device *pdev)
{}

static const struct of_device_id syscon_poweroff_of_match[] =;

static struct platform_driver syscon_poweroff_driver =;
builtin_platform_driver();