// SPDX-License-Identifier: GPL-2.0-only /* * Power off driver for ams AS3722 device. * * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. * * Author: Laxman Dewangan <[email protected]> */ #include <linux/mfd/as3722.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/reboot.h> #include <linux/slab.h> struct as3722_poweroff { … }; static int as3722_pm_power_off(struct sys_off_data *data) { … } static int as3722_poweroff_probe(struct platform_device *pdev) { … } static struct platform_driver as3722_poweroff_driver = …; module_platform_driver(…) …; MODULE_DESCRIPTION(…) …; MODULE_ALIAS(…) …; MODULE_AUTHOR(…) …;