From mboxrd@z Thu Jan 1 00:00:00 1970 From: rjw@rjwysocki.net (Rafael J. Wysocki) Date: Fri, 28 Apr 2017 23:34:31 +0200 Subject: [PATCH 2/2] cpufreq: scpi: use new scpi_ops functions to remove duplicate code In-Reply-To: <20170428092456.GF21517@vireshk-i7> References: <1493371296-12465-1-git-send-email-sudeep.holla@arm.com> <1493371296-12465-2-git-send-email-sudeep.holla@arm.com> <20170428092456.GF21517@vireshk-i7> Message-ID: <1644626.pZFp7GD5Yb@aspire.rjw.lan> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday, April 28, 2017 02:54:56 PM Viresh Kumar wrote: > On 28-04-17, 10:21, Sudeep Holla wrote: > > scpi_ops now provide APIs to get the transition_latency and to add > > OPPs to the devices making those logic redundant here. > > > > This patch makes use of those APIs and removes the redunant code in > > this driver. > > > > Cc: "Rafael J. Wysocki" > > Cc: Viresh Kumar > > Signed-off-by: Sudeep Holla > > --- > > drivers/cpufreq/scpi-cpufreq.c | 38 ++++++-------------------------------- > > 1 file changed, 6 insertions(+), 32 deletions(-) > > Acked-by: Viresh Kumar > > OK Sudeep, please route this through ARM. Thanks, Rafael