aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/cros_ec_sysfs.c
diff options
context:
space:
mode:
authorThierry Escande <thierry.escande@collabora.com>2017-11-20 17:15:26 +0100
committerLee Jones <lee.jones@linaro.org>2017-12-15 10:46:06 +0000
commit5e0115581bbc367c7958bf5ab8c511b808558533 (patch)
tree9d40619821ebaf178020c5b6ea5e3231483cf491 /drivers/platform/chrome/cros_ec_sysfs.c
parentcros_ec: Split cros_ec_devs module (diff)
downloadlinux-dev-5e0115581bbc367c7958bf5ab8c511b808558533.tar.xz
linux-dev-5e0115581bbc367c7958bf5ab8c511b808558533.zip
cros_ec: Move cros_ec_dev module to drivers/mfd
The cros_ec_dev module is responsible for registering the MFD devices attached to the ChromeOS EC. This patch moves this module to drivers/mfd so calls to mfd_add_devices() are not done from outside the MFD subtree anymore. Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Reviewed-by: Gwendal Grignou <gwendal@chromium.org> Tested-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/platform/chrome/cros_ec_sysfs.c')
-rw-r--r--drivers/platform/chrome/cros_ec_sysfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/platform/chrome/cros_ec_sysfs.c b/drivers/platform/chrome/cros_ec_sysfs.c
index 201f11afcdc9..d6eebe872187 100644
--- a/drivers/platform/chrome/cros_ec_sysfs.c
+++ b/drivers/platform/chrome/cros_ec_sysfs.c
@@ -34,8 +34,6 @@
#include <linux/types.h>
#include <linux/uaccess.h>
-#include "cros_ec_dev.h"
-
/* Accessor functions */
static ssize_t show_ec_reboot(struct device *dev,