Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1091186pxb; Sun, 19 Sep 2021 05:58:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyl+8W37HPM6/nImogf7ccBw3H3BiQm6wP5bU24/fPlH1F/CUz3UCAMXjbbIjzRgcBOaUMx X-Received: by 2002:a05:6e02:c6d:: with SMTP id f13mr14015673ilj.55.1632056328596; Sun, 19 Sep 2021 05:58:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632056328; cv=none; d=google.com; s=arc-20160816; b=P45n30ZUL6yNTR+NrpZy5kM0Uoa9yeZpHPqDlMiZkOKgmuklyIa6ofXkInL3hTbXg6 Kumehp9MkaRkuc0nIWVGvQTZR6oeQ/dAW4Z61Nkly4aqHZwbofil/kFlMbCtNopHTdkj D8Qn9QXG2R3OrK8jCVM5QADd47xNJsaN8+CxZ/5a83RS531t9hQ0CAANGbt++NoCYLWO REZXdBYo8mMQKcy+lVZEI3w2aRzNyDh47ADRRuztNLLHF1afjGbIlixxdI9Z7qTf6YGx bmI/4buJNYkBL0t+xDTptfu1TRfhhBuX7Zumztu/Ahav7QkiSff0pourhtPLYXyI9b8A MgVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=l8YXmTXMZ/iKcjkLim6IYDwfujCxIJBCjNW3dt7zqMc=; b=eIgMS2kGQTFUh5/J86hvlzvaZGuHz/+zAPmSF2fV2ZgIZFMf17sBmn+USL4wEdiCBk uiePrieFc3PHQ7bF+HC8//yPLyr+/uRaZYsOaJTsGCKwMYsp/ceQ85Vvi+xJ//VdXi+9 8E08VrwsMqzAfJkJlz11ft26blimXIz+Fox0WEOMfq1QJsCBOPbNFZb3GvuxPiWA2a6S rXm4ndNF0FcI9DTmqwnVx3gNxSe45WgHyPZAZaws9yYwTg9RD5ceG6F1x2guTmvOtHkf ipmweqr8Bs/+4sSJhw1lJaaiEPS0/t+zYlETDm5XQIANVRqHbgiMSc3XOKyTNsPUqKm5 aMUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=JScp05qF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r20si11562265jad.99.2021.09.19.05.58.32; Sun, 19 Sep 2021 05:58:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=JScp05qF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237599AbhISJct (ORCPT + 99 others); Sun, 19 Sep 2021 05:32:49 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:36382 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237587AbhISJcs (ORCPT ); Sun, 19 Sep 2021 05:32:48 -0400 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id A721C40293 for ; Sun, 19 Sep 2021 09:31:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632043882; bh=l8YXmTXMZ/iKcjkLim6IYDwfujCxIJBCjNW3dt7zqMc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JScp05qFjaXB2fKc4KbEReBcD28QIxTqWSAjTSaM4m5oQGCRROhq0dssfDCWy/xsk 4HAMY5juPN2/IJMggyBhlx8ZE5X5NovGR815oGqWmHoC4po7GOk8UAIAzbsAjSUMKe DavpTAbLIHxUVG5rZnl2ek4Xd+Xpy1HwccFSoKaiYXw/kOVynbKWOE6TwzlJoz84Il hHsHyAcEuBmUIoFrj8V9dpk9FDgRSrrbG8GLR+yOfko/rhVj1aIJs+KFZbkeIpLUzi Kzi/4dvILp25RgVlKWeHf4epv4997iqNhNQLF5ATDnYIBHuCZd4taRjhF+xfrS+2ks SvD07zSYLBKcQ== Received: by mail-ed1-f70.google.com with SMTP id d1-20020a50f681000000b003d860fcf4ffso350776edn.22 for ; Sun, 19 Sep 2021 02:31:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=l8YXmTXMZ/iKcjkLim6IYDwfujCxIJBCjNW3dt7zqMc=; b=DBDBFc8W2hvxXVSFL7xzD8QVj+S/lHM1DeraF0iyq/gi7Vph4KPPWk84nOiSNRdfN7 ohkF0JQe3XWU4f1w52WBMbMt/kucue/viQMaQ0is3ANYjRM8gPAs+aEYuJjHgsfBg/9q M0TAi0FiwRr0vysm1G9/tebjGu8OapLzGCEcs1JWnVCuyWOpNOSpru8Q6xYVUeJwhi/T 4vHAMoVm2/JHlMuJu5CqFxQ1z4NACutAgxxy+WplkfNdaZGOehW4yxTtodRaBWwhmB3r ZObWLUNTHRJkVRbE1wfQ73RlyvauvwMZMD4CvSqz9dUV5rzFBp6zEbiim7Bb7exXMAbc 9i8w== X-Gm-Message-State: AOAM530Ly30sLZLNQeXdcZauvF9yrM4bzGWMIYW7poYt+fxAouZtL7t8 hZtzTP7TDbaoupzfwzkijxIfdJcL/o0kj7plc5PY5v95C6uqulhuku7+rkqyRoU3zax7ThkgkLe RQ/ULuqe6JFWcEjhXJmRLxvq36xxwxssJpSgT7FoKxA== X-Received: by 2002:a17:906:38db:: with SMTP id r27mr22326045ejd.338.1632043882303; Sun, 19 Sep 2021 02:31:22 -0700 (PDT) X-Received: by 2002:a17:906:38db:: with SMTP id r27mr22326024ejd.338.1632043882150; Sun, 19 Sep 2021 02:31:22 -0700 (PDT) Received: from kozik-lap.lan (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id p24sm514111edq.27.2021.09.19.02.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 02:31:21 -0700 (PDT) From: Krzysztof Kozlowski To: Russell King , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Tomasz Figa , Arnd Bergmann , Olof Johansson , Alim Akhtar , Chanwoo Choi , Pankaj Dubey Subject: [PATCH v2 1/3] soc: samsung: exynos-chipid: avoid soc_device_to_device() Date: Sun, 19 Sep 2021 11:31:12 +0200 Message-Id: <20210919093114.35987-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210919093114.35987-1-krzysztof.kozlowski@canonical.com> References: <20210919093114.35987-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org soc_device_to_device() seems to be discouraged [1] so remove it in favor of printing info message with platform device. This will only change the prefix in theh info message from "soc soc0: " to "exynos-chipid 10000000.chipid:". [1] https://lore.kernel.org/lkml/20191111052741.GB3176397@kroah.com/ Signed-off-by: Krzysztof Kozlowski --- drivers/soc/samsung/exynos-chipid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index 5c1d0f97f766..dcd9a08ce706 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -104,8 +104,7 @@ static int exynos_chipid_probe(struct platform_device *pdev) platform_set_drvdata(pdev, soc_dev); - dev_info(soc_device_to_device(soc_dev), - "Exynos: CPU[%s] PRO_ID[0x%x] REV[0x%x] Detected\n", + dev_info(&pdev->dev, "Exynos: CPU[%s] PRO_ID[0x%x] REV[0x%x] Detected\n", soc_dev_attr->soc_id, product_id, revision); return 0; -- 2.30.2