gpu: drm: bridge: sii9234: simplify getting the adapter of a client
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 8 Jun 2019 10:55:41 +0000 (12:55 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 12 Jun 2019 14:01:30 +0000 (16:01 +0200)
commitc412187dda6ea557879b6103d17a3f47e38621ed
treebe2bd79d3fc73a4029b5e9cc15756c04b4be92ee
parent1ff30dd85e63bbf4c83805d8830b85ef0824d271
gpu: drm: bridge: sii9234: simplify getting the adapter of a client

We have a dedicated pointer for that, so use it. Much easier to read and
less computation involved.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190608105619.593-3-wsa+renesas@sang-engineering.com
drivers/gpu/drm/bridge/sii9234.c