Re: [PATCH 3/3] regulator: ti-abb-regulator: do not open-code counting and access of dt array elements

From: Mark Brown
Date: Wed Feb 12 2014 - 10:50:59 EST


On Wed, Feb 12, 2014 at 01:01:42AM +0100, Heiko Stübner wrote:
> From: Heiko Stuebner <heiko.stuebner@xxxxxxxxxxxxx>
>
> Open coding the counting of elements in a dt-property is abstracted by the newly
> introduced of_property_count_uXX_elems functions. Additionally the raw iteration
> over the states element exposes the endian conversion and dtb-format details,
> which according to Mark Rutland "would be nice to limit [...] to of_ helper
> functions".

Applied, thanks.

Attachment: signature.asc
Description: Digital signature