Re: [v2 PATCH] regulator: palmas: Store pdata pointer in palmasstruct

From: Mark Brown
Date: Thu Jul 25 2013 - 14:02:58 EST

On Thu, Jul 25, 2013 at 01:04:59PM -0400, Rhyland Klein wrote:
> Store a pointer to the pdata so that if it needs to be used after
> probe it can be. In the case of booting from DeviceTree, the
> dev.platform_data may be null, so we need to store this pointer
> explicitly.

This doesn't seem to adjust any places where pdata is used to refer to
the new pointer so does it actually have any effect?

Attachment: signature.asc
Description: Digital signature