]> git.baikalelectronics.ru Git - kernel.git/commit
soc: samsung: chipid: Fix return value on non-Exynos platforms
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 16 Mar 2020 17:56:52 +0000 (18:56 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 25 Mar 2020 13:27:27 +0000 (14:27 +0100)
commit6ac3c8e506bcb6703649b3abb21ae1cd138df7fa
treedd35817ce60dc8f5824cd6b937437a138526267f
parent24a6a5d15a38bd24d4c2517444f2cd07fa06e383
soc: samsung: chipid: Fix return value on non-Exynos platforms

Correct the probe return value to -ENODEV on non-Exynos platforms.

Link: https://lore.kernel.org/r/20200316175652.5604-4-krzk@kernel.org
Fixes: 6598881087a2 ("soc: samsung: chipid: Drop "syscon" compatible requirement")
Cc: <stable@vger.kernel.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/samsung/exynos-chipid.c