fbdev/simplefb: Suppress error on missing power domains
authorRichard Acayan <mailingradian@gmail.com>
Wed, 22 Nov 2023 00:54:59 +0000 (19:54 -0500)
committerHans de Goede <hdegoede@redhat.com>
Wed, 22 Nov 2023 08:51:16 +0000 (09:51 +0100)
commit9c6894320f49c146270623bb37cd700db7cf13df
tree451a9238d1641e1beb33ec51f7fc20aef17ff593
parenta4dea9a06f72c7885f8d4dccedec7e477878d798
fbdev/simplefb: Suppress error on missing power domains

When the power domains are missing, the call to of_count_phandle_with_args
fails with -ENOENT. The power domains are not required and there are
some device trees that do not specify them. Suppress this error to fix
devices without power domains attached to simplefb.

Fixes: 92a511a568e4 ("fbdev/simplefb: Add support for generic power-domains")
Closes: https://lore.kernel.org/linux-fbdev/ZVwFNfkqjrvhFHM0@radian
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231122005457.330066-3-mailingradian@gmail.com
drivers/video/fbdev/simplefb.c