summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-core.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-03-19 17:36:38 +0100
committerJiri Kosina <jkosina@suse.cz>2019-03-27 14:06:19 +0100
commit77f9f7721866c97ea6314e05a83d50fc97bb5b1c (patch)
treeb1e5348dc1abc31c9237d1de4e3921365685da1d /drivers/hid/hid-core.c
parentc6400e5cef5eafc259e649ceedc4c7eecc9069d8 (diff)
HID: hid-sensor-custom: simplify getting .driver_data
We should get 'driver_data' from 'struct device' directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-core.c')
0 files changed, 0 insertions, 0 deletions