]> git.baikalelectronics.ru Git - uboot.git/commit
syscon: Drop the logging in syscon_get_by_driver_data()
authorSimon Glass <sjg@chromium.org>
Mon, 28 Sep 2020 00:46:17 +0000 (18:46 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2020 13:53:31 +0000 (09:53 -0400)
commitf2f4c30a3018af0b2f267b9c34a08d316f049503
tree2cff065040cc0162528c8c57700fb49fb797747d
parentc744602b7d8dfdb5be5c276d78df19bda26ca0d4
syscon: Drop the logging in syscon_get_by_driver_data()

This function can be called when it is not known whether it will find
anything. This results in confusing log messages if the device is not
found. It is better for the caller to log the failure, if necessary.

Drop the logging from this function.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/syscon-uclass.c