soc: samsung: chipid: Fix return value on non-Exynos platforms
commit100ee0bf17f2a855b15a189983a5b5976c043d90
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 16 Mar 2020 17:56:52 +0000 (16 18:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2020 09:00:10 +0000 (1 11:00 +0200)
tree1bb8918837edbd53f99a2b748d1384a837d63df1
parentaeeda19db4ab8b8e5bf653835058728ebe26909f
soc: samsung: chipid: Fix return value on non-Exynos platforms

commit c8042d1e5cb3e654b47447229ace3cd092a8fc27 upstream.

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

Link: https://lore.kernel.org/r/20200316175652.5604-4-krzk@kernel.org
Fixes: 02fb29882d5c ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/soc/samsung/exynos-chipid.c