diff options
| author | 2022-02-16 16:03:03 +0800 | |
|---|---|---|
| committer | 2022-04-18 15:39:27 +0800 | |
| commit | f47a6113f4e87db7ca066635822e1b3ca3ed9514 (patch) | |
| tree | 204f83a789948f975968eed7c53fa39a37e43563 /include/linux/platform_data | |
| parent | platform/chrome: cros_ec: fix error handling in cros_ec_register() (diff) | |
| download | linux-dev-f47a6113f4e87db7ca066635822e1b3ca3ed9514.tar.xz linux-dev-f47a6113f4e87db7ca066635822e1b3ca3ed9514.zip | |
platform/chrome: cros_ec: remove unused variable `was_wake_device`
Reviewed-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/cros_ec_proto.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/platform_data/cros_ec_proto.h b/include/linux/platform_data/cros_ec_proto.h index df3c78c92ca2..c65971ec90ea 100644 --- a/include/linux/platform_data/cros_ec_proto.h +++ b/include/linux/platform_data/cros_ec_proto.h @@ -76,8 +76,6 @@ struct cros_ec_command { * struct cros_ec_device - Information about a ChromeOS EC device. * @phys_name: Name of physical comms layer (e.g. 'i2c-4'). * @dev: Device pointer for physical comms device - * @was_wake_device: True if this device was set to wake the system from - * sleep at the last suspend. * @cros_class: The class structure for this device. * @cmd_readmem: Direct read of the EC memory-mapped region, if supported. * @offset: Is within EC_LPC_ADDR_MEMMAP region. @@ -137,7 +135,6 @@ struct cros_ec_device { /* These are used by other drivers that want to talk to the EC */ const char *phys_name; struct device *dev; - bool was_wake_device; struct class *cros_class; int (*cmd_readmem)(struct cros_ec_device *ec, unsigned int offset, unsigned int bytes, void *dest); |
