]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit871b2d546b3b9438946f2089a2310367bb73fec1
tree7e37893e62194d73a4e0af780073c61aa3d44d74
parentf24f7969dcb5e46f45e68f1828526880a0f24b48
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