summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-12-12 23:10:32 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-17 12:26:14 +0100
commitac6bbe6ab32309218d1806572e0f1f331f9a8dcd (patch)
tree1048413b9066683a3e015f252b63625982082eb7 /drivers/video
parent7036c933612dc7004b90d7d3c9d1a208d3a22db1 (diff)
downloadbarebox-ac6bbe6ab32309218d1806572e0f1f331f9a8dcd.tar.gz
barebox-ac6bbe6ab32309218d1806572e0f1f331f9a8dcd.tar.xz
mci: Rely on NULL being a dummy regulator
Since NULL, is a dummy regulator, we can drop a bit of error checking logic and simplify the code if we assing host->supply to NULL in case we can't find an appropriate regulator during probing. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions