History

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.

Enric Balletbo i Serra committed 7 years ago

Commit 459aedb1 parent eda2e302 files · +6 −216Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/mfd/cros_ec.h+0−2
@@ -192,7 +192,6 @@ struct cros_ec_debugfs; · 191 unmodified lines
192192 /**
193193 * struct cros_ec_dev - ChromeOS EC device entry point.
194194 * @class_dev: Device structure used in sysfs.
195− * @cdev: Character device structure in /dev.
196195 * @ec_dev: cros_ec_device structure to talk to the physical device.
197196 * @dev: Pointer to the platform device.
198197 * @debug_info: cros_ec_debugfs structure for debugging information.
@@ -202,7 +201,6 @@ struct cros_ec_debugfs; · 3 unmodified lines
202201 */
203202 struct cros_ec_dev {
204203 struct device class_dev;
205− struct cdev cdev;
206204 struct cros_ec_device *ec_dev;
207205 struct device *dev;
208206 struct cros_ec_debugfs *debug_info;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t