diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-03-19 17:36:38 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-03-27 14:06:19 +0100 |
commit | 77f9f7721866c97ea6314e05a83d50fc97bb5b1c (patch) | |
tree | b1e5348dc1abc31c9237d1de4e3921365685da1d /drivers/usb | |
parent | c6400e5cef5eafc259e649ceedc4c7eecc9069d8 (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/usb')
0 files changed, 0 insertions, 0 deletions