[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150901224807.GA21112@codeaurora.org>
Date: Tue, 1 Sep 2015 15:48:07 -0700
From: Stephen Boyd <sboyd@...eaurora.org>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: Rafael Wysocki <rjw@...ysocki.net>, linaro-kernel@...ts.linaro.org,
linux-pm@...r.kernel.org, nm@...com, khilman@...aro.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Len Brown <len.brown@...el.com>,
open list <linux-kernel@...r.kernel.org>,
Pavel Machek <pavel@....cz>
Subject: Re: [PATCH V2 Resend 1/5] PM / OPP: reuse of_parse_phandle()
On 09/01, Viresh Kumar wrote:
> We already have a better API to get the opp descriptor block's node from
> cpu-node. Lets reuse that instead of creating our own routines for the
> same stuff. That cleans the code a lot.
>
> This also kills a check we had earlier (as we are using the generic API
> now). Earlier we used to check if the operating-points-v2 property
> contained multiple phandles instead of a single phandle.
>
> Killing this check isn't an issue because, we only parse the first entry
> with of_parse_phandle(). So, if a user passes multiple phandles, its
> really his problem :)
>
> Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
> ---
Reviewed-by: Stephen Boyd <sboyd@...eaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists