Commit c8042d1e authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Arnd Bergmann

soc: samsung: chipid: Fix return value on non-Exynos platforms

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

Fixes: 02fb2988 ("soc: samsung: chipid: Drop "syscon" compatible requirement")
Cc: <>
Signed-off-by: default avatarMarek Szyprowski <>
Signed-off-by: default avatarKrzysztof Kozlowski <>
Signed-off-by: default avatarArnd Bergmann <>
parent 47039b55
......@@ -59,7 +59,7 @@ static int __init exynos_chipid_early_init(void)
syscon = of_find_compatible_node(NULL, NULL,
if (!syscon)
return ENODEV;
return -ENODEV;
regmap = device_node_to_regmap(syscon);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment