drm/bridge: sii902x: Refactor init code into separate function
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 20 Oct 2020 22:14:57 +0000 (17:14 -0500)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 8 Nov 2020 10:49:56 +0000 (11:49 +0100)
commit91b5e26731c5d409d6134603afc061617639933e
tree7e37893e62194d73a4e0af780073c61aa3d44d74
parentf2e66f212a9de04afc2caa5ec79057c0ac75c728
drm/bridge: sii902x: Refactor init code into separate function

Separate the hardware initialization code from setting up the data
structures and parsing the device tree. The purpose of this change is
to provide a single exit point and avoid a waterfall of 'goto's in
the subsequent patch.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201020221501.260025-1-mr.nuke.me@gmail.com
drivers/gpu/drm/bridge/sii902x.c