Re: [PATCH] soc: samsung: chipid: Remove the regmap lookup error log

From: Krzysztof Kozlowski
Date: Thu Aug 22 2019 - 14:17:54 EST


On Wed, Aug 21, 2019 at 05:05:39PM +0200, Sylwester Nawrocki wrote:
> 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@xxxxxxxxxx>

Thanks, applied.

Best regards,
Krzysztof