platform/chrome: cros_ec_lpc: Merge cros_ec_lpc and cros_ec_lpc_reg
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Fri, 14 Jun 2019 21:43:00 +0000 (23:43 +0200)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Thu, 20 Jun 2019 09:53:52 +0000 (11:53 +0200)
commit4116fd25c5262e90427f9840e861a8553374a867
treebf04895317794726e5f58a46ee690f86df64d8e5
parentd096aa3eb6045a6a475a0239f3471c59eedf3d61
platform/chrome: cros_ec_lpc: Merge cros_ec_lpc and cros_ec_lpc_reg

The cros_ec_lpc_reg files are only used by the cros_ec_lpc core and
there isn't logical separation between them. So, merge those files into
the cros_ec_lpc also allowing us to drop the header file used for the
interface between the two.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Nick Crews <ncrews@chromium.org>
drivers/platform/chrome/Makefile
drivers/platform/chrome/cros_ec_lpc.c
drivers/platform/chrome/cros_ec_lpc_reg.c [deleted file]
drivers/platform/chrome/cros_ec_lpc_reg.h [deleted file]