Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Viresh Kumar Newsgroups: linux.kernel Subject: Re: [PATCH 5/12] cpufreq: ondemand: Drop one more callback from struct od_ops Date: Thu, 18 Feb 2016 06:40:02 +0100 Message-ID: References: Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=XO0VHZm/QJmfs0eEJ88gSo1b+hW1D3MQTMsg+2VDogM=; b=N2ahXf+XoLurPpVCmCyq5kOodG6aYSVdtD3THm0iZBg9QUYznvB2kHsh24/M6TmkB2 prM/p5puvK7v1LbPkpPoYpwkrkRWMSP3E9+FQmI1Y5hsE0Lu60N6BDV1BJ7WxOIhCk7/ 3F6+vFtImwXYsa2pup7mBYIIBYYMoC9fpOy7E= X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=XO0VHZm/QJmfs0eEJ88gSo1b+hW1D3MQTMsg+2VDogM=; b=YzidprwyUQIed6IQCX7tNVEs3itgE443AXWQEe7FCBAj3MBKCgb90rCJZTipVnWIib 9J9D5vu3j2XwrS6zuKS5VzAiG8tDna8Ttyj/QU0aeUWFJbcWNy//LVBKrjFFNMpeNoEn CFhLYQPCTlZEZtUwjUR4iHTohobJfz5scrG/zyGN3iTcIV6l6Tn09bf7hK1w67DGRzF+ Vf+sPhAB0nt0NvpmnzkwHRqBuXB3d/X75K/1AuklnQ7dlAgK037/su6PykeEc7ayXPlX cLVHPFmqiHQrw9ZxR3uz33XMyLoxN8gyNZQ2H93Z3qZH87NmRcHmxNsfzKFV4aOzrJj9 ZvUw== X-Gm-Message-State: AG10YOTJs/X6PS6uwUH3uOG4DkceWhOUZn9tNa/V7ejzdqy4UdjzdyjxR7ApDvdxkI1wXheO X-Received: by 10.98.8.200 with SMTP id 69mr7687757pfi.39.1455773903498; Wed, 17 Feb 2016 21:38:23 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 18 Organization: linux.* mail to news gateway X-Original-Cc: Linux PM list , Linux Kernel Mailing List X-Original-Date: Thu, 18 Feb 2016 11:08:11 +0530 X-Original-Message-ID: <20160218053811.GK2610@vireshk-i7> X-Original-References: <2938006.67J0esUvOA@vostro.rjw.lan> <4653996.VftfsaIoaX@vostro.rjw.lan> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1337053 On 18-02-16, 02:24, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ->powersave_bias_init_cpu callback in struct od_ops is only used > in one place and that invocation may be replaced with a direct call > to the function pointed to by that callback, so change the code > accordingly and drop the callback. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq_governor.h | 1 - > drivers/cpufreq/cpufreq_ondemand.c | 3 +-- > 2 files changed, 1 insertion(+), 3 deletions(-) Acked-by: Viresh Kumar -- viresh