From patchwork Wed Sep 1 09:11:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 505008 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp67954jai; Wed, 1 Sep 2021 02:12:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynCxUarYxXqvEb97D06tqPOo1bBxvIeSQ84wY3nuiti++mVv1VVVSm8lyZvx41zRGo3SAt X-Received: by 2002:a92:1304:: with SMTP id 4mr20694976ilt.196.1630487537844; Wed, 01 Sep 2021 02:12:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630487537; cv=none; d=google.com; s=arc-20160816; b=Wse7Ek2uuf7d8xiSP/GwURxthMK0Xc6+2MT5lvIwacIi0t9sPsFeUY+BO2YlIVF9Kv xgI8Tsdwek8XdH3dE5QX3K+w9TFOdTjs2DYnnBthdpYVPv2swrhggcJUJZ4e2cyHAJtn Wax3GUtFCiCFT7NcIP3Z/ABiJAaoJBQTmQL8BtUEx7HMusHBWqgEhQ5aSZBNKfO7pzKR Xgmqt9YUYGCZY3cfhS8lsgAgmQuS/EeXLS/6YJO8ssNZsIekK1rL53uzis+6s6EMEDn+ b1YGt4JctlXluETa/iDUt3flIwT0QmD4TFwNDmdPebajNPeRPMp7jZk2PbBeHdLXISYS XC7g== 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=9awTdNZXeyUkH/oFOCLr7e4LdyXBILhh3s1aaJszUyk=; b=dcZnh2nVEy3lbKizUewFEUKHg19LhGdBc1EKjTmL0/2cVNwdCzag4NsaJdUp08s2es 9KqpMlKpLzGXmKgzmSFcfd9GPTQcex3GGotBn7u2roiYjnKGjw3+BFTOM1+DxAYwxNMt ndFrWyoCr+KgliBCwxeLTZYc3KrPMEcJiB1rtoJbFfqPK65f4EiFQIHtiMy9w1ES/PWv ktCgsdUcMC+HAVMhzbNdBE76p5wurYYA8IxBlBlIW4x9dIa/UCCImxusVOCXitS6x5tz 7XAmiNY0rAkMIFL1atwS8xwAy/wxqVpNxX8FOpa7ty9o1fP+engoHvw7d/fpvwX84ktm i3DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ihEuaUER; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f18si72033ilq.43.2021.09.01.02.12.17; Wed, 01 Sep 2021 02:12:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-pm-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=@linaro.org header.s=google header.b=ihEuaUER; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243453AbhIAJNL (ORCPT + 7 others); Wed, 1 Sep 2021 05:13:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243445AbhIAJNK (ORCPT ); Wed, 1 Sep 2021 05:13:10 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CA7BC061575 for ; Wed, 1 Sep 2021 02:12:14 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id m26so1547977pff.3 for ; Wed, 01 Sep 2021 02:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9awTdNZXeyUkH/oFOCLr7e4LdyXBILhh3s1aaJszUyk=; b=ihEuaUERWeKow9ehEulv8jzIYo4APivhosmQp5knPz8bLu9qf2kiJ526U48rO2uRnL p2gR9SCalooNAenTmIRj30SJOyHBuPevEvt2DN+UFuSBw6SLeP7SRC1deAzXrIFHEoFN XqzPr7bevLHVks7G+mZXpn71JI+0nbgN8MKVAJ2NKpyRnNoLOQWzEhIlQ2HmOVXgmGdh zMranfIMmYNrrKN60W3XQuBEd0HVgzTBXqnhpVpJ0CZq8YX6YjY+TF7imRJADHn9/lvm sJB0d5CW9cwyNYBI8M7w4vDbjdl/mxv3hhgTE0u1CRw5HvpoYnRQKCV5mlR5y6B8Pt8i q8pg== 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=9awTdNZXeyUkH/oFOCLr7e4LdyXBILhh3s1aaJszUyk=; b=lTDHKmbppQYMDv0YAL7qDmWhQ3gynhYKOzI8eLLdCkvtvryZCouxs/rjiBvzOmEC+o avFSvHpJFx5PyJALmZJzrqDgcSQhfRylGKRM2WDyGIx1fSdT9NJghE5ryIT4Z5jmSEmz tkfI7XNmjzUT2YDnaygCbS0HqntTr3z5IP4NbE1D261CLQpsO5zanrt5CORBqZRx4jZy 5qkNAuPt//+ot3WWkGdvFLCK73BrqzgOHlZKMKF2TmVbXNDSIHBjQLXiONyigjiRWSfS vCrXIrE9tKytUXnQq2mc2sGia93rOKohraXmkpcjV9SdftuZ6LrtXV4R+GDRBsmxiJjl /UKQ== X-Gm-Message-State: AOAM532SpaXNDqXPviJ/YmNch69nan8hye+KRYIiVFxBzYmMyg4qzfI/ ++HpQqC10pdAdxdSIA3n5VTEcw== X-Received: by 2002:a63:444c:: with SMTP id t12mr31095067pgk.212.1630487533654; Wed, 01 Sep 2021 02:12:13 -0700 (PDT) Received: from localhost ([122.172.201.85]) by smtp.gmail.com with ESMTPSA id k190sm12341642pgc.11.2021.09.01.02.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 02:12:13 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Viresh Kumar Cc: linux-pm@vger.kernel.org, Vincent Guittot , linux-kernel@vger.kernel.org Subject: [PATCH 2/3] cpufreq: sh: Remove sh_cpufreq_cpu_ready() Date: Wed, 1 Sep 2021 14:41:56 +0530 Message-Id: <2c81cd66e09dccb9189221d39f0871d9fc7192d3.1630487322.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.31.1.272.g89b43f80a514 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The ->ready() callback is going away and since we don't do any important stuff in sh_cpufreq_cpu_ready(), remove it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/sh-cpufreq.c | 11 ----------- 1 file changed, 11 deletions(-) -- 2.31.1.272.g89b43f80a514 diff --git a/drivers/cpufreq/sh-cpufreq.c b/drivers/cpufreq/sh-cpufreq.c index 1a251e635ebd..b8704232c27b 100644 --- a/drivers/cpufreq/sh-cpufreq.c +++ b/drivers/cpufreq/sh-cpufreq.c @@ -145,16 +145,6 @@ static int sh_cpufreq_cpu_exit(struct cpufreq_policy *policy) return 0; } -static void sh_cpufreq_cpu_ready(struct cpufreq_policy *policy) -{ - struct device *dev = get_cpu_device(policy->cpu); - - dev_info(dev, "CPU Frequencies - Minimum %u.%03u MHz, " - "Maximum %u.%03u MHz.\n", - policy->min / 1000, policy->min % 1000, - policy->max / 1000, policy->max % 1000); -} - static struct cpufreq_driver sh_cpufreq_driver = { .name = "sh", .flags = CPUFREQ_NO_AUTO_DYNAMIC_SWITCHING, @@ -163,7 +153,6 @@ static struct cpufreq_driver sh_cpufreq_driver = { .verify = sh_cpufreq_verify, .init = sh_cpufreq_cpu_init, .exit = sh_cpufreq_cpu_exit, - .ready = sh_cpufreq_cpu_ready, .attr = cpufreq_generic_attr, };