]> git.baikalelectronics.ru Git - kernel.git/commit
mfd / platform: cros_ec: Move debugfs attributes to its own driver
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Wed, 12 Dec 2018 17:33:59 +0000 (18:33 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 1 Feb 2019 08:09:27 +0000 (08:09 +0000)
commitb18f89b4e460fa9b26d251ad7ad7e2a260289281
tree8f216dca2558b0c0dd5490ae151a0bc153418142
parentb29bd172554415eb0cdafaccb4c4fe9c0d5f01ef
mfd / platform: cros_ec: Move debugfs attributes to its own driver

The entire way how cros debugfs attibutes are created is broken.
cros_ec_debugfs should be its own driver and its attributes should be
associated with a debugfs driver not the mfd driver.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec_dev.c
drivers/platform/chrome/Kconfig
drivers/platform/chrome/Makefile
drivers/platform/chrome/cros_ec_debugfs.c
include/linux/mfd/cros_ec.h