soc: samsung: chipid: Remove the regmap lookup error log
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 21 Aug 2019 15:05:39 +0000 (17:05 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 22 Aug 2019 18:15:38 +0000 (20:15 +0200)
commit823034575c177d1d69673102a994d5d33b05e3de
treea55ea78cc2536ef3a847f17db90ff4e51bd020c0
parent3636e82135ce5ade87c238e61a315df23dbcd4d6
soc: samsung: chipid: Remove the regmap lookup error log

In commit 40d8aff614f7 ("soc: samsung: chipid: Convert exynos-chipid
driver to use the regmap API") of_find_compatible_node() call was
substituted with syscon_regmap_lookup_by_compatible() but also an error
log was added for case where lookup fails. On multiplatform the lookup
will always fail on any non-samsung device so the log is incorrect.
Remove the error log and just return an error code from
syscon_regmap_lookup_by_compatible() which internally calls
of_find_compatible_node().

Reported-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/soc/samsung/exynos-chipid.c