From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH V3 4/8] driver/core: cpu: initialize opp table Date: Tue, 27 May 2014 13:30:09 +0200 Message-ID: <11801597.a0CDeJOEp5@vostro.rjw.lan> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit Return-path: Received: from v094114.home.net.pl ([79.96.170.134]:64429 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751577AbaE0LNF (ORCPT ); Tue, 27 May 2014 07:13:05 -0400 In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Viresh Kumar Cc: Lists linaro-kernel , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List , Arvind Chauhan , Ips Gandhi , Nishanth Menon , Chander Kashyap , Pavel Machek , "Brown, Len" , Sudeep Holla , Greg Kroah-Hartman , Amit Daniel Kachhap , Kukjin Kim , Shawn Guo On Tuesday, May 27, 2014 05:48:27 AM Viresh Kumar wrote: > On 27 May 2014 05:34, Viresh Kumar wrote: > > We are also using it for cpu->dev_id, but that's not so important. This > > routine wouldn't have existed if you wouldn't have asked for it. It is > > just a wrapper over of_init_opp_table, which also has a dummy > > implementation when its not supported. > > > > So, it might not be worth enough for any other code to use it. :) > > And so I added it here. > > > > Let me know how/where do you want it and I will resend it quickly. > > There is another option here, add these print messages in > of_init_opp_table() ? That's the only difference new wrapper has. Yeah, put them into of_init_opp_table() rather I'd say. Rafael