From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752036AbaE0LNI (ORCPT ); Tue, 27 May 2014 07:13:08 -0400 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 From: "Rafael J. Wysocki" 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 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> User-Agent: KMail/4.11.5 (Linux/3.15.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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