Re: [PATCH v2 1/2] cros_ec: Split cros_ec_devs module

From: Lee Jones
Date: Wed Nov 29 2017 - 06:34:51 EST


On Mon, 20 Nov 2017, Thierry Escande wrote:

> This patch splits the cros_ec_devs module in two parts with a
> cros_ec_dev module responsible for handling MFD devices registration and
> a cros_ec_ctl module responsible for handling the various user-space
> interfaces.
>
> For consistency purpose, the driver name for the cros_ec_dev module is
> now cros-ec-dev instead of cros-ec-ctl.
>
> In the next commit, the new cros_ec_dev module will be moved to the MFD
> subtree so mfd_add_devices() calls are not done from outside MFD.
>
> Signed-off-by: Thierry Escande <thierry.escande@xxxxxxxxxxxxx>
> ---
> drivers/mfd/cros_ec.c | 4 ++--

For the MFD part:
Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>

> drivers/platform/chrome/Kconfig | 4 ++++
> drivers/platform/chrome/Makefile | 8 ++++----
> drivers/platform/chrome/cros_ec_debugfs.c | 2 ++
> drivers/platform/chrome/cros_ec_dev.c | 7 +++++--
> drivers/platform/chrome/cros_ec_lightbar.c | 4 ++++
> drivers/platform/chrome/cros_ec_sysfs.c | 3 +++
> drivers/platform/chrome/cros_ec_vbc.c | 1 +
> 8 files changed, 25 insertions(+), 8 deletions(-)

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog