Re: [PATCH v2 0/2] pinctrl: Intel Cherryview/Braswell support
From: Rafael J. Wysocki
Date: Tue Nov 04 2014 - 17:26:27 EST
On Tuesday, November 04, 2014 03:51:07 PM Timur Tabi wrote:
> 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().
What exactly do you need the size of the property alone for?
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/