diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2024-10-11 19:10:06 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-11-14 14:52:43 +0300 |
commit | 2e716f5cdebed2fb98cafffaf626645c2e922dbb (patch) | |
tree | c76b693a46dc783ea6226ae7c9eb94318e25cd76 /rust/helpers/helpers.c | |
parent | f20b0a03674cef555a5f48b65f81b82868b17cdd (diff) | |
download | linux-2e716f5cdebed2fb98cafffaf626645c2e922dbb.tar.xz |
powerpc/powermac: Use of_property_match_string() in pmac_has_backlight_type()
Replace an of_get_property() call by of_property_match_string()
so that this function implementation can be simplified.
Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/linuxppc-dev/d9bdc1b6-ea7e-47aa-80aa-02ae649abf72@csgroup.eu/
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/linuxppc-dev/87cyk97ufp.fsf@mail.lhotse/
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/ede25e03-7a14-4787-ae1b-4fc9290add5a@web.de
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions