commit | f11c35e18150a347f6251a9fecd14290c25b743a | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Mon Sep 20 11:05:20 2021 +0200 |
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | Mon Sep 27 09:18:58 2021 +0200 |
tree | a3f19bcc360cf9a8afba6262887adfb174803ccb | |
parent | f636fb044ad6a4bea1032cf65e2fe0dd04332265 [diff] |
platform/chrome: cros_ec_sensorhub: 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> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Link: https://lore.kernel.org/r/20210920090522.23784-9-wsa+renesas@sang-engineering.com