lkml.org 
[lkml]   [2017]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] mfd: cros_ec: move cros_ec_dev driver to MFD subdir
Date
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

\
 
 \ /
  Last update: 2017-11-20 17:16    [W:0.152 / U:8.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site