cros_ec: Move cros_ec_dev module to drivers/mfd
authorThierry Escande <thierry.escande@collabora.com>
Mon, 20 Nov 2017 16:15:26 +0000 (17:15 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 15 Dec 2017 10:46:06 +0000 (10:46 +0000)
commit5e0115581bbc367c7958bf5ab8c511b808558533
tree9d40619821ebaf178020c5b6ea5e3231483cf491
parentea01a31b90581a94cdeef7fda9e4522f15ef64f2
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>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/cros_ec_dev.c [moved from drivers/platform/chrome/cros_ec_dev.c with 99% similarity]
drivers/mfd/cros_ec_dev.h [moved from drivers/platform/chrome/cros_ec_dev.h with 100% similarity]
drivers/platform/chrome/Kconfig
drivers/platform/chrome/Makefile
drivers/platform/chrome/cros_ec_debugfs.c
drivers/platform/chrome/cros_ec_debugfs.h [deleted file]
drivers/platform/chrome/cros_ec_lightbar.c
drivers/platform/chrome/cros_ec_sysfs.c
include/linux/mfd/cros_ec.h