Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3286404ybb; Tue, 31 Mar 2020 02:07:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsRUj/iCJ6JnAjW5TLcOkXmo2zqMsteLpxraYGUBDFqIT4+9DpJ2XkpklcyJIUP0X8OyEfb X-Received: by 2002:aca:bd0b:: with SMTP id n11mr1316860oif.90.1585645647530; Tue, 31 Mar 2020 02:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585645647; cv=none; d=google.com; s=arc-20160816; b=SQIT5Z/aKZczE1cCDzTkxD2vn1sDvdSKG6P0iCPQ0KVCO93/Ab9BacvE2on4eagJiP U1KtI7B/6dFLf43dnG+VyNRtfRruinVzOOEUccxrlAPtbhSEqzFBMt7+jYsSu/2onM8a WDKwIJ14bqLfiiapkzTMDO/obfa32uRWgmOZM09yL2u24oQdJ5ifCVPIrocrRQ26UxVm +3UUcMo5R3ZDiyhnMqxh84l+14McSKkm4hI0oL+BTo3jd5kA/L2VrW3QIqf9OeDpIKwJ ggUemryVMq8MjO0Q9SVPy/7Wkc6hh5tWWe7tE1EpS4pUlswH2DzaT3uwNllV63tW18vi Ccvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+cILmPCJG7WEWnDEJTS10bk+KkUotnKBR050rYaYY6k=; b=iAnM28ukMeS/Kky8stNJ7thBkTyKurrrwy5lzybZhJcRMlM+UfKPS7ZI9PAYjFeuUp 5197VdIi0zAiLsNZbRPBppl9Ti5UbRc4KZL/gdgHaMwSJ1PEjKs7Uxh/SA8PKp5eu+4p ujgHm80dOVgkqsYQvTVbc9VPXRU4Qw07xBOEhw9vndeQIeH1Dgpv3MofblqWd0Y0tvMh dSpFGcjb6mDfgzZ+72+g89dyAzoQ6N5RuRiaDJcsL2QsoGaX6sTA2mVpkt0/BiNz9YN7 ATJfRcHY7XwKntzuvCGUyOvkLjX6OlmXRNshu3NNIQ5UaqRocvEmXdZfTSxVRKod9B1W 1pqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zA7fw+pf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o124si7224926oib.111.2020.03.31.02.07.15; Tue, 31 Mar 2020 02:07:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zA7fw+pf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730720AbgCaJHC (ORCPT + 99 others); Tue, 31 Mar 2020 05:07:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:48458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731185AbgCaJGx (ORCPT ); Tue, 31 Mar 2020 05:06:53 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 99A5E20787; Tue, 31 Mar 2020 09:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585645612; bh=BJdtZt8wNQKTcjtxEhtdcuqLz5fEjrH+VTKBedAi40c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zA7fw+pfIYuESv0neQ/wpCQ8odu7WL7WX3xganga0A7fnLHWOJDvPPItfP3PxzxgC 6G6NyGzyOukNbr7PRRXqSRHFeQTz/W1tS1w7cythV6FWPYvc2O98t0UokUpH1rpZbk /wmTvm4fNJQoQAgLdmhIadhkYp9rUO8Piqn7AfXI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Szyprowski , Krzysztof Kozlowski , Arnd Bergmann Subject: [PATCH 5.5 106/170] soc: samsung: chipid: Fix return value on non-Exynos platforms Date: Tue, 31 Mar 2020 10:58:40 +0200 Message-Id: <20200331085435.452193790@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200331085423.990189598@linuxfoundation.org> References: <20200331085423.990189598@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marek Szyprowski 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: Signed-off-by: Marek Szyprowski Signed-off-by: Krzysztof Kozlowski Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- drivers/soc/samsung/exynos-chipid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -59,7 +59,7 @@ static int __init exynos_chipid_early_in syscon = of_find_compatible_node(NULL, NULL, "samsung,exynos4210-chipid"); if (!syscon) - return ENODEV; + return -ENODEV; regmap = device_node_to_regmap(syscon); of_node_put(syscon);