Re: [PATCH v2 2/2] cros_ec: Move cros_ec_dev module to drivers/mfd
From: Lee Jones
Date: Wed Nov 29 2017 - 06:36:02 EST
On Mon, 20 Nov 2017, Thierry Escande wrote:
> 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@xxxxxxxxxxxxx>
> ---
> drivers/mfd/Kconfig | 10 +
> drivers/mfd/Makefile | 1 +
> drivers/mfd/cros_ec_dev.c | 552 ++++++++++++++++++++++++++++
> drivers/mfd/cros_ec_dev.h | 52 +++
> drivers/platform/chrome/Kconfig | 10 -
> drivers/platform/chrome/Makefile | 1 -
> drivers/platform/chrome/cros_ec_debugfs.c | 3 -
> drivers/platform/chrome/cros_ec_debugfs.h | 27 --
> drivers/platform/chrome/cros_ec_dev.c | 553 -----------------------------
> drivers/platform/chrome/cros_ec_dev.h | 52 ---
> drivers/platform/chrome/cros_ec_lightbar.c | 2 -
> drivers/platform/chrome/cros_ec_sysfs.c | 2 -
> include/linux/mfd/cros_ec.h | 4 +
> 13 files changed, 619 insertions(+), 650 deletions(-)
> create mode 100644 drivers/mfd/cros_ec_dev.c
> create mode 100644 drivers/mfd/cros_ec_dev.h
> delete mode 100644 drivers/platform/chrome/cros_ec_debugfs.h
> delete mode 100644 drivers/platform/chrome/cros_ec_dev.c
> delete mode 100644 drivers/platform/chrome/cros_ec_dev.h
For my own reference:
Acked-for-MFD-by: Lee Jones <lee.jones@xxxxxxxxxx>
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog