Re: [PATCH 1/2] regulator: gpio: Avoid unnecessarily copying data structures in probe()

From: Mark Brown
Date: Thu Jan 28 2016 - 18:09:29 EST


On Thu, Jan 28, 2016 at 07:55:17PM +0000, Harald Geyer wrote:
> The data structures either have been copied in
> of_get_gpio_regulator_config() already or are part of platform data,
> which we keep a pointer to for the life time of the device anyway.

The point of this code is to avoid referring to platform data after
probe for robustness.

Attachment: signature.asc
Description: PGP signature