]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/of/property.c
of: property: Minor style clean up of of_link_to_phandle()
authorSaravana Kannan <saravanak@google.com>
Tue, 5 Nov 2019 06:49:58 +0000 (22:49 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Nov 2019 08:42:03 +0000 (09:42 +0100)
commitba861f8e07bf38c457b98e1abf6ecd9fd8c4ee92
treedee03b516e60dfd86268abeb1dcb8e4b0d2b00ea
parentcc4c831811c2901b4b896c76ecb97212d73ad5aa
of: property: Minor style clean up of of_link_to_phandle()

Adding a debug log instead of silently ignoring a phandle for an early
device. Also, return the right error code instead of 0 even though the
actual execution flow won't change.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20191105065000.50407-2-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/of/property.c