[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1511194526-3729-1-git-send-email-thierry.escande@collabora.com>
Date: Mon, 20 Nov 2017 17:15:24 +0100
From: Thierry Escande <thierry.escande@...labora.com>
To: Lee Jones <lee.jones@...aro.org>,
Benson Leung <bleung@...omium.org>
Cc: Enric Balletbo i Serra <enric.balletbo@...labora.com>,
Gwendal Grignou <gwendal@...omium.org>,
Guenter Roeck <groeck@...gle.com>, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] mfd: cros_ec: move cros_ec_dev driver to MFD subdir
Hi,
In order to remove calls to mfd_add_devices() from outside the MFD
subtree, this patchset splits the cros_ec_devs modules in 2 parts. The
cros_ec_dev module, responsible for registering mfd devices, will be
moved to the MFD subtree (drivers/mfd/) and the user-space interfaces,
named cros_ec_ctl will be kept in drivers/platform/chrome/.
Regards,
Thierry
Thierry Escande (2):
cros_ec: Split cros_ec_devs module
cros_ec: Move cros_ec_dev module to drivers/mfd
drivers/mfd/Kconfig | 10 +
drivers/mfd/Makefile | 1 +
drivers/mfd/cros_ec.c | 4 +-
drivers/mfd/cros_ec_dev.c | 549 ++++++++++++++++++++++++++++
drivers/mfd/cros_ec_dev.h | 52 +++
drivers/platform/chrome/Kconfig | 10 +-
drivers/platform/chrome/Makefile | 7 +-
drivers/platform/chrome/cros_ec_debugfs.c | 5 +-
drivers/platform/chrome/cros_ec_debugfs.h | 27 --
drivers/platform/chrome/cros_ec_dev.c | 550 -----------------------------
drivers/platform/chrome/cros_ec_dev.h | 52 ---
drivers/platform/chrome/cros_ec_lightbar.c | 6 +-
drivers/platform/chrome/cros_ec_sysfs.c | 5 +-
drivers/platform/chrome/cros_ec_vbc.c | 1 +
include/linux/mfd/cros_ec.h | 4 +
15 files changed, 633 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
--
2.7.4
Powered by blists - more mailing lists