drm/tinydrm: Embed the mode in tinydrm_connector
authorNoralf Trønnes <noralf@tronnes.org>
Wed, 10 Jan 2018 18:59:39 +0000 (19:59 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Mon, 15 Jan 2018 14:16:59 +0000 (15:16 +0100)
commitfe4be3b8f3e6345b398bf3f44b50676e471e1c37
tree8855dc80dc2d0356fed6ffe19b75108c4fc8257e
parentf730eceb42fa0bf60006d45e93c52207cb8a65be
drm/tinydrm: Embed the mode in tinydrm_connector

Embed the mode in tinydrm_connector instead of doing an devm_ allocation.
Remove unnecessary use of ret variable at the end of
tinydrm_display_pipe_init().

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: David Lechner <david@lechnology.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180110185940.53841-7-noralf@tronnes.org
drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c