commit | eb40baefb64063b585740ecf0b1be6c859166ad4 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@bootlin.com> | Thu Mar 14 21:16:22 2019 +0100 |
committer | Maxime Ripard <maxime.ripard@bootlin.com> | Fri Mar 15 09:36:45 2019 +0100 |
tree | a42e4df68b47339201a5eb412fb9250e20f1adef | |
parent | 40609d4820b21ff0bb0a58e196601a6747fd55b7 [diff] |
drm/sun4i: backend: Simplify the get_id logic Using the new helpers introduced since we wrote that code, we can simplify the code to retrieve the backend ID significantly. The new code will also allow us to deal nicely with endpoints that don't have a reg property, as expected in the case where there's a single endpoint for a given port. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Link: https://patchwork.freedesktop.org/patch/msgid/1a9bf911b0a40475da8025859032514131d5397b.1552594551.git-series.maxime.ripard@bootlin.com