Source
1
+
// SPDX-License-Identifier: GPL-2.0-only
1
2
/*
2
3
* Copyright 2009-2010 Pengutronix
3
4
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
4
5
*
5
6
* loosely based on an earlier driver that has
6
7
* Copyright 2009 Pengutronix, Sascha Hauer <s.hauer@pengutronix.de>
7
-
*
8
-
* This program is free software; you can redistribute it and/or modify it under
9
-
* the terms of the GNU General Public License version 2 as published by the
10
-
* Free Software Foundation.
11
8
*/
12
9
​
13
10
#include <linux/slab.h>
14
11
#include <linux/module.h>
15
12
#include <linux/platform_device.h>
16
13
#include <linux/interrupt.h>
17
14
#include <linux/mfd/core.h>
18
15
#include <linux/mfd/mc13xxx.h>
19
16
#include <linux/of.h>
20
17
#include <linux/of_device.h>