linux/drivers/input/misc/tps65219-pwrbutton.c

// SPDX-License-Identifier: GPL-2.0
//
// Driver for TPS65219 Push Button
//
// Copyright (C) 2022 BayLibre Incorporated - https://www.baylibre.com/

#include <linux/init.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/mfd/tps65219.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/slab.h>

struct tps65219_pwrbutton {};

static irqreturn_t tps65219_pb_push_irq(int irq, void *_pwr)
{}

static irqreturn_t tps65219_pb_release_irq(int irq, void *_pwr)
{}

static int tps65219_pb_probe(struct platform_device *pdev)
{}

static void tps65219_pb_remove(struct platform_device *pdev)
{}

static const struct platform_device_id tps65219_pwrbtn_id_table[] =;
MODULE_DEVICE_TABLE(platform, tps65219_pwrbtn_id_table);

static struct platform_driver tps65219_pb_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_AUTHOR();