cros_ec: Split cros_ec_devs module
authorThierry Escande <thierry.escande@collabora.com>
Mon, 20 Nov 2017 16:15:25 +0000 (17:15 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 15 Dec 2017 10:45:11 +0000 (10:45 +0000)
commitea01a31b90581a94cdeef7fda9e4522f15ef64f2
tree2eeed489a92ab480bbea28db88c719d3c0146488
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
cros_ec: Split cros_ec_devs module

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@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/cros_ec.c
drivers/platform/chrome/Kconfig
drivers/platform/chrome/Makefile
drivers/platform/chrome/cros_ec_debugfs.c
drivers/platform/chrome/cros_ec_dev.c
drivers/platform/chrome/cros_ec_lightbar.c
drivers/platform/chrome/cros_ec_sysfs.c
drivers/platform/chrome/cros_ec_vbc.c