From patchwork Mon Mar 29 12:24:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 12170027 X-Patchwork-Delegate: cw00.choi@samsung.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22D84C433C1 for ; Mon, 29 Mar 2021 12:25:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D004B6195C for ; Mon, 29 Mar 2021 12:25:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231139AbhC2MYs (ORCPT ); Mon, 29 Mar 2021 08:24:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbhC2MYp (ORCPT ); Mon, 29 Mar 2021 08:24:45 -0400 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98A3DC061574 for ; Mon, 29 Mar 2021 05:24:44 -0700 (PDT) Received: by mail-qk1-x733.google.com with SMTP id x14so12113934qki.10 for ; Mon, 29 Mar 2021 05:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=T/fMBYR4Yd5piX+1pA3p+PIx0zWWBB+T3lnvR9rHYBo=; b=q6qRHAQXV+hKgpBAY9KIiHljsognBYKZkanegA1uC8hRRCT4gWZPseYrnWDS8FV0Qi gBt3SxuKNYAwbXVrY1VILIUGdqyLLjXb1B2vUGXAE3ih1zbpJhCP6gX4gN6mSaweckQ1 OIbZeQFoqOrXA2svbTGXRwWDxXB74UPjowsRYbvapsNhwao5gHm1J++nTBK6X1GrVklh ISPmnv+D9/m6npYrovZ3meGiis3N3tc+KUUo0xSoljpI5sNcDpDzbRfQxl+LcgeOuo+c PdHhpjNpfYCRxbCY5dfhkyFi5EIzN1E7bI4tJayHcOwQ86MO6JLmp4Vw4z7QC6wEsqM9 dtOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=T/fMBYR4Yd5piX+1pA3p+PIx0zWWBB+T3lnvR9rHYBo=; b=pyarMO2G6dp6A+rmTHS2BdIIrMzXgk8jRYgUa9cgq7vKwxj+Eja/XYUsC/ZToeGENa mWJxQnLEWXNr3uzk3e2ytcSgAMuEFYx7l94EzNu1B5OFaUowOckrmfZtytKViBlGdDqt BUD+jushhvAxn4ITtmwJE0WmNKei9HT2OIFtlxWL3PyusdccDOJSn7BmRS3FwJ0revpQ +A+1wyoci9OD7+pfOhEjurXBOk150c5USC4T/dBiYWsUQUTG35tQEraDeg5Ah33OXyKf WSerBUpJS3nuwla+oHP13gCEE19JDxg3/C7ftIkpY8PIkycGCMlXwI9L4Iiq468zSoC7 zV+w== X-Gm-Message-State: AOAM533pRpxeyUV3paI4SoBzt+mwK/odskfg/xvi5NyktutTjWmaOHrc N+QbPPFnpSO78QU8OQffyJGWSy+gyyE= X-Google-Smtp-Source: ABdhPJyC84R1sthJRLTxBia2zf5iDkKMTOyg3Ynh1tFBadaliwhJol5lwHH5Cm/I9F9PiK5KklVQ9g== X-Received: by 2002:a37:9fd2:: with SMTP id i201mr24090294qke.435.1617020683910; Mon, 29 Mar 2021 05:24:43 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:919:7898:56c:200:f2a5]) by smtp.gmail.com with ESMTPSA id s13sm13246877qkg.17.2021.03.29.05.24.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 05:24:43 -0700 (PDT) From: Fabio Estevam To: cw00.choi@samsung.com Cc: linux-imx@nxp.com, linux-pm@vger.kernel.org, Fabio Estevam Subject: [PATCH 1/2] PM / devfreq: imx-bus: Remove unneeded of_match_ptr() Date: Mon, 29 Mar 2021 09:24:24 -0300 Message-Id: <20210329122425.579386-1-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org i.MX is a DT-only platform, so of_match_ptr() can be safely removed. Remove the unneeded of_match_ptr(). Signed-off-by: Fabio Estevam --- drivers/devfreq/imx-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/imx-bus.c b/drivers/devfreq/imx-bus.c index 4f38455ad742..3fc3fd77492d 100644 --- a/drivers/devfreq/imx-bus.c +++ b/drivers/devfreq/imx-bus.c @@ -169,7 +169,7 @@ static struct platform_driver imx_bus_platdrv = { .probe = imx_bus_probe, .driver = { .name = "imx-bus-devfreq", - .of_match_table = of_match_ptr(imx_bus_of_match), + .of_match_table = imx_bus_of_match, }, }; module_platform_driver(imx_bus_platdrv); From patchwork Mon Mar 29 12:24:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 12170029 X-Patchwork-Delegate: cw00.choi@samsung.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 388A7C433DB for ; Mon, 29 Mar 2021 12:25:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 04C0860C3D for ; Mon, 29 Mar 2021 12:25:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229910AbhC2MYt (ORCPT ); Mon, 29 Mar 2021 08:24:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230323AbhC2MYr (ORCPT ); Mon, 29 Mar 2021 08:24:47 -0400 Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEBFCC061574 for ; Mon, 29 Mar 2021 05:24:46 -0700 (PDT) Received: by mail-qt1-x829.google.com with SMTP id y2so9072395qtw.13 for ; Mon, 29 Mar 2021 05:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=B6IbhuxtYBidhaB+ByBwL1xwk2t2d4wdz49zsKjdjSo=; b=ueLciToiKDWqFKG63wIYCIzlOd06JBjzqCjsPxrrry2milFaHRB9LGy27pexD3JSLc 283fzwEiEjHhCM3t5iOgKIIB+3AHKM5g+LLGyj4KCReJKx745kE3xSXaSedQecp40lZ2 rKESCH/fSVovSxuGbvJjFFX5MD/VA9QGNxw0KquSjcg8/eq4P7C7Vqo/ZsR9CFDJVTeQ tyQWOKix83vTihW42fSIxUCU0j6uPGy9YPDH3kxxg6a0AK+LI70uJsexixrluvRVuz4V pi9/4VHg/cWFLVi54HQBkbrfjJGCCS8lebzvFObnfN0dwSLctt1nMKQJoLzCEa7HPn7O IloQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=B6IbhuxtYBidhaB+ByBwL1xwk2t2d4wdz49zsKjdjSo=; b=ZfNQZkZ9S2u71x1vWWgtvWKioFgQTQTSBSAqDJgcWIKdSYW3mXrS4hGVEy1UOjonxa 0yicPM8utuWVr3+9VAkgDoLm3FiykFw7GuxIGmpQFRxWUBsFKrjT4tHsGO7jfvHSDmxx e1lNlSPIwIo33d2MCe74Lo0/aNl1fnYxUxDsHRxR9t/Z5+EYgH3HqUWcfM05+IAAnEx6 yHelER6p4a34L4L3Lz8M2i83VHSjMtNBeEzST6WKaT4dRICVNTrRNAoLwQzLWPB8cF+Z fS1a5RtXAS6xug/VrnFjmDlYeDWjJS2qpW/2AswF6Ra+V5j7qCT9EvwCF0RcnQwaGent nAxw== X-Gm-Message-State: AOAM530pcVWG4kkjiJISOc/jyp6oc73AFHEAPFauY18rdM43j+h0KziH N6Cz0TZlpBrcgc86dEKGr3g= X-Google-Smtp-Source: ABdhPJxL7McLbQXdZ4EmesAHdMfS69I+aGb/iT4+srRPZCDvt9SNRu1GfXgkWIQ9tqTPJTHzvBNeaQ== X-Received: by 2002:ac8:6c4a:: with SMTP id z10mr22002927qtu.229.1617020686153; Mon, 29 Mar 2021 05:24:46 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:919:7898:56c:200:f2a5]) by smtp.gmail.com with ESMTPSA id s13sm13246877qkg.17.2021.03.29.05.24.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 05:24:45 -0700 (PDT) From: Fabio Estevam To: cw00.choi@samsung.com Cc: linux-imx@nxp.com, linux-pm@vger.kernel.org, Fabio Estevam Subject: [PATCH 2/2] PM / devfreq: imx8m-ddrc: Remove unneeded of_match_ptr() Date: Mon, 29 Mar 2021 09:24:25 -0300 Message-Id: <20210329122425.579386-2-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210329122425.579386-1-festevam@gmail.com> References: <20210329122425.579386-1-festevam@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org i.MX is a DT-only platform, so of_match_ptr() can be safely removed. Remove the unneeded of_match_ptr(). Signed-off-by: Fabio Estevam --- drivers/devfreq/imx8m-ddrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c index ecb9375aa877..16636973eb10 100644 --- a/drivers/devfreq/imx8m-ddrc.c +++ b/drivers/devfreq/imx8m-ddrc.c @@ -447,7 +447,7 @@ static struct platform_driver imx8m_ddrc_platdrv = { .probe = imx8m_ddrc_probe, .driver = { .name = "imx8m-ddrc-devfreq", - .of_match_table = of_match_ptr(imx8m_ddrc_of_match), + .of_match_table = imx8m_ddrc_of_match, }, }; module_platform_driver(imx8m_ddrc_platdrv);