]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: simplefb: modernise DT parsing
authorCaleb Connolly <caleb.connolly@linaro.org>
Fri, 16 Feb 2024 18:38:06 +0000 (18:38 +0000)
committerAnatolij Gustschin <agust@denx.de>
Sun, 21 Apr 2024 07:07:02 +0000 (09:07 +0200)
commit91e9687b49e7929effcc4464659c31d2ccb46e7b
treee01dc3985aee472fa466ad44e45f75fb343ce621
parent9970634f83f313e5eac18a77f740a89d9f83a712
video: simplefb: modernise DT parsing

simplefb was using old style FDT parsing which doesn't behave well in
combination with livetree. Update it to use ofnode instead and add a
missing null check for the "format" property.

Standardise the error logging while we're here.

Fixes: 971d7e64245d ("video: simplefb")
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/video/simplefb.c