]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: simplify getting .driver_data
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 20 Sep 2021 09:05:17 +0000 (11:05 +0200)
committerSteven Price <steven.price@arm.com>
Mon, 20 Sep 2021 13:34:37 +0000 (14:34 +0100)
commitf0f109bf5774f7fe11f5d9de02595f13ae697d1e
tree65871cf1340e9bc8cb6bf93e6f8b733a6d66164d
parent86e5e1f5d54682b9b70598db1282dfacd18b7e95
drm/panfrost: 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>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210920090522.23784-6-wsa+renesas@sang-engineering.com
drivers/gpu/drm/panfrost/panfrost_device.c