diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2019-09-02 11:53:03 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-09-02 11:33:27 +0100 |
commit | 459aedb9a5d4b92e4aee343ee8ee5aeca8e1d93a (patch) | |
tree | a281ebec665528506d8a1f21baccc5535f8e9c0a /include/linux/mfd/cros_ec.h | |
parent | eda2e30c6684d67288edb841c6125d48c608a242 (diff) | |
download | talos-op-linux-459aedb9a5d4b92e4aee343ee8ee5aeca8e1d93a.tar.gz talos-op-linux-459aedb9a5d4b92e4aee343ee8ee5aeca8e1d93a.zip |
mfd: cros_ec: Switch to use the new cros-ec-chardev driver
With the purpose of remove the things that far extends the bounds of
what a MFD was designed to do, instantiate the new platform misc
cros-ec-chardev driver and get rid of all the unneeded code. After this
patch the misc chardev driver is a sub-device of the MFD, and all the
new file operations should be implemented there.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/cros_ec.h')
-rw-r--r-- | include/linux/mfd/cros_ec.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/cros_ec.h b/include/linux/mfd/cros_ec.h index bcccda0257ff..569428ad1cb1 100644 --- a/include/linux/mfd/cros_ec.h +++ b/include/linux/mfd/cros_ec.h @@ -192,7 +192,6 @@ struct cros_ec_debugfs; /** * struct cros_ec_dev - ChromeOS EC device entry point. * @class_dev: Device structure used in sysfs. - * @cdev: Character device structure in /dev. * @ec_dev: cros_ec_device structure to talk to the physical device. * @dev: Pointer to the platform device. * @debug_info: cros_ec_debugfs structure for debugging information. @@ -202,7 +201,6 @@ struct cros_ec_debugfs; */ struct cros_ec_dev { struct device class_dev; - struct cdev cdev; struct cros_ec_device *ec_dev; struct device *dev; struct cros_ec_debugfs *debug_info; |