#include <linux/device.h>
#include <linux/input.h>
#include <linux/kernel.h>
#include <linux/mfd/iqs62x.h>
#include <linux/module.h>
#include <linux/notifier.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/regmap.h>
#include <linux/slab.h>
enum { … };
static const char * const iqs62x_switch_names[] = …;
struct iqs62x_switch_desc { … };
struct iqs62x_keys_private { … };
static int iqs62x_keys_parse_prop(struct platform_device *pdev,
struct iqs62x_keys_private *iqs62x_keys)
{ … }
static int iqs62x_keys_init(struct iqs62x_keys_private *iqs62x_keys)
{ … }
static int iqs62x_keys_notifier(struct notifier_block *notifier,
unsigned long event_flags, void *context)
{ … }
static int iqs62x_keys_probe(struct platform_device *pdev)
{ … }
static void iqs62x_keys_remove(struct platform_device *pdev)
{ … }
static struct platform_driver iqs62x_keys_platform_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;