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

// SPDX-License-Identifier: GPL-2.0
/*
 * Power off through MediaTek PMIC
 *
 * Copyright (C) 2018 MediaTek Inc.
 *
 * Author: Sean Wang <[email protected]>
 *
 */

#include <linux/err.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/mfd/mt6397/core.h>
#include <linux/mfd/mt6397/rtc.h>
#include <linux/reboot.h>

struct mt6323_pwrc {};

static int mt6323_do_pwroff(struct sys_off_data *data)
{}

static int mt6323_pwrc_probe(struct platform_device *pdev)
{}

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

static struct platform_driver mt6323_pwrc_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();