Re: [PATCH 1/3] of: add functions to count number of elements in a property
From: Mark Brown
Date: Wed Feb 12 2014 - 10:51:15 EST
On Wed, Feb 12, 2014 at 01:00:34AM +0100, Heiko Stübner wrote:
> From: Heiko Stuebner <heiko.stuebner@xxxxxxxxxxxxx>
>
> The need to know the number of array elements in a property is
> a common pattern. To prevent duplication of open-coded implementations
> add a helper static function that also centralises strict sanity
> checking and DTB format details, as well as a set of wrapper functions
> for u8, u16, u32 and u64.
Applied, thanks.
Attachment:
signature.asc
Description: Digital signature