Re: [PATCH] regulator: s2mps11: Fix NULL pointer of_node value whenusing platform data

From: Mark Brown
Date: Fri Jan 31 2014 - 11:54:02 EST


On Thu, Jan 30, 2014 at 02:51:19PM +0100, Krzysztof Kozlowski wrote:
> When platform_data is used for regulator (of_node of sec-core MFD device
> is NULL) the config.of_node for regulator is not initialized. This NULL
> value of config.of_node is later stored during regulator_register().
> Thus any call by regulator consumers to of_get_regulator() will fail on
> of_parse_phandle() returning NULL.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature