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

Timur Tabi
2014-11-04T22:32:59Z

On 11/04/2014 04:47 PM, Rafael J. Wysocki wrote:
> What exactly do you need the size of the property alone for?

There are lots of situations where you don't know the size of the
property in advance (e.g. strings), and drivers use of_find_property()
or of_get_property() to pre-allocate a buffer or to verify that the
property is correctly formed in the device tree.

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