aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-03-27 12:45:34 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-03-28 22:37:29 +0200
commitc9c10913ea00111b7ce3304634e8131ec073495e (patch)
tree0e344ce3c58534fcd16c6e76259d0f515023ba08 /drivers/platform
parentplatform/x86: surface3_power: MSHW0011 rev-eng implementation (diff)
downloadlinux-dev-c9c10913ea00111b7ce3304634e8131ec073495e.tar.xz
linux-dev-c9c10913ea00111b7ce3304634e8131ec073495e.zip
platform/x86: surface3_power: Drop unused structure definition
As reported by kbuild bot the struct mshw0011_lookup in never used. Drop its definition for good. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/surface3_power.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/platform/x86/surface3_power.c b/drivers/platform/x86/surface3_power.c
index 42331d178674..9cdae35c9802 100644
--- a/drivers/platform/x86/surface3_power.c
+++ b/drivers/platform/x86/surface3_power.c
@@ -56,13 +56,6 @@ struct mshw0011_data {
s32 full_capacity;
};
-struct mshw0011_lookup {
- struct mshw0011_data *cdata;
- unsigned int n;
- unsigned int index;
- int addr;
-};
-
struct mshw0011_handler_data {
struct acpi_connection_info info;
struct i2c_client *client;