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: 411096 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);