platform/chrome: Move cros-ec transport drivers to drivers/platform.
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 2 Jul 2018 10:21:59 +0000 (12:21 +0200)
committerBenson Leung <bleung@chromium.org>
Tue, 3 Jul 2018 19:40:06 +0000 (12:40 -0700)
commitd00a8741fd8fab2dc82f1c44d4111a337d505e60
tree6c36a99da5a0b9c8ef0f44f9bc5e5a661a311b7b
parent021c91791a5e7e85c567452f1be3e4c2c6cb6063
platform/chrome: Move cros-ec transport drivers to drivers/platform.

There are some cros-ec transport drivers (I2C, SPI) living in MFD, while
others (LPC) living in drivers/platform. The transport drivers are more
platform specific. So, move the I2C and SPI transport drivers to the
platform/chrome directory. The patch also removes the MFD_ prefix of
their Kconfig symbols.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/cros_ec_i2c.c [deleted file]
drivers/mfd/cros_ec_spi.c [deleted file]
drivers/platform/chrome/Kconfig
drivers/platform/chrome/Makefile
drivers/platform/chrome/cros_ec_i2c.c [new file with mode: 0644]
drivers/platform/chrome/cros_ec_spi.c [new file with mode: 0644]