]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd91774c398a1d872aaccb0c7918393c67fc2128d
treebe2bd79d3fc73a4029b5e9cc15756c04b4be92ee
parent2e94a90fcc64750ff58326e87afa6971d6146142
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