Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1217145
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V2 Resend 1/5] PM / OPP: reuse of_parse_phandle() |
| Date | 2015-09-02 00:50 +0200 |
| Message-ID | <q42xk-3mq-43@gated-at.bofh.it> (permalink) |
| References | <q3LPP-4Iw-3@gated-at.bofh.it> <q3LPQ-4Iw-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@linaro.org> > --- Reviewed-by: Stephen Boyd <sboyd@codeaurora.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH V2 Resend 1/5] PM / OPP: reuse of_parse_phandle() Viresh Kumar <viresh.kumar@linaro.org> - 2015-09-01 07:00 +0200 Re: [PATCH V2 Resend 1/5] PM / OPP: reuse of_parse_phandle() Stephen Boyd <sboyd@codeaurora.org> - 2015-09-02 00:50 +0200
csiph-web