diff options
| author | Lee Jones <[email protected]> | 2021-03-26 14:34:55 +0000 |
|---|---|---|
| committer | Benjamin Tissoires <[email protected]> | 2021-04-07 18:46:20 +0200 |
| commit | 07b34ddd759b7b1580eee6fd754dec824a280f0d (patch) | |
| tree | 8c9a9084c43b52848bdbf19dd15b590359a51534 | |
| parent | 1784cd57e35f8cc5981cb1e632561e74956cd007 (diff) | |
HID: hid-sensor-hub: Remove unused struct member 'quirks'
Commit b0f847e16c1ea ("HID: hid-sensor-hub: Force logical minimum to 1
for power and report state") removed the last used quirk handled by
this driver.
Fixes the following W=1 kernel build warning(s):
drivers/hid/hid-sensor-hub.c:39: warning: Function parameter or member 'quirks' not described in 'sensor_hub_data'
Cc: Jiri Kosina <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Srinivas Pandruvada <[email protected]>
Cc: Benjamin Tissoires <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Benjamin Tissoires <[email protected]>
| -rw-r--r-- | drivers/hid/hid-sensor-hub.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c index 3dd7d3246737..36b6852f75dd 100644 --- a/drivers/hid/hid-sensor-hub.c +++ b/drivers/hid/hid-sensor-hub.c @@ -34,7 +34,6 @@ struct sensor_hub_data { spinlock_t dyn_callback_lock; struct mfd_cell *hid_sensor_hub_client_devs; int hid_sensor_client_cnt; - unsigned long quirks; int ref_cnt; }; @@ -615,7 +614,6 @@ static int sensor_hub_probe(struct hid_device *hdev, } hid_set_drvdata(hdev, sd); - sd->quirks = id->driver_data; spin_lock_init(&sd->lock); spin_lock_init(&sd->dyn_callback_lock); |