aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGwendal Grignou <[email protected]>2015-05-20 11:31:27 +0200
committerLee Jones <[email protected]>2015-06-15 13:18:17 +0100
commite7b707f96820161820a864d2ee81740a14da6b93 (patch)
tree53dc5b6752c4140b5f512547d153c843017d7070 /include/linux
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22 (diff)
mfd: cros_ec: Remove parent field
Parent and device were pointing to the same device structure. Parent is unused, removed. Signed-off-by: Gwendal Grignou <[email protected]> Tested-by: Stephen Barber <[email protected]> Tested-by: Heiko Stuebner <[email protected]> Tested-by: Gwendal Grignou <[email protected]> Reviewed-by: Puthikorn Voravootivat <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mfd/cros_ec.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/cros_ec.h b/include/linux/mfd/cros_ec.h
index 324a34683971..14cf522123dd 100644
--- a/include/linux/mfd/cros_ec.h
+++ b/include/linux/mfd/cros_ec.h
@@ -85,7 +85,6 @@ struct cros_ec_command {
* to using dword.
* @din_size: size of din buffer to allocate (zero to use static din)
* @dout_size: size of dout buffer to allocate (zero to use static dout)
- * @parent: pointer to parent device (e.g. i2c or spi device)
* @wake_enabled: true if this device can wake the system from sleep
* @cmd_xfer: send command to EC and get response
* Returns the number of bytes received if the communication succeeded, but
@@ -113,7 +112,6 @@ struct cros_ec_device {
uint8_t *dout;
int din_size;
int dout_size;
- struct device *parent;
bool wake_enabled;
int (*cmd_xfer)(struct cros_ec_device *ec,
struct cros_ec_command *msg);