Re: [PATCH v2 0/2] pinctrl: Intel Cherryview/Braswell support

Timur Tabi
2014-11-04T21:51:12Z

On 11/04/2014 07:31 AM, Rafael J. Wysocki wrote:
> Actually, it's better to pull the device-properties branch:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git device-properties
>
> because that contains the lastest changes. It will be rebased in the future,
> though, so don't merge it into your "immutable" branches.

I wish there were more examples on converting OF calls to device_prop*
calls. I can't figure out how to obtain the size of a property without
reading the property data. I think device_property_present() should be
modified to take an optional size property, just like of_find_property().

--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.