max8903: store pointer to pdata instead of copying it.
authorChris Lapa <chris@lapa.com.au>
Fri, 24 Jun 2016 02:26:07 +0000 (12:26 +1000)
committerSebastian Reichel <sre@kernel.org>
Tue, 28 Jun 2016 18:05:41 +0000 (20:05 +0200)
commit0c3ae04b00f5664b98435b072c1694e62a823e5a
tree26ea067e1b790b8bdd23aaeec20d13b21fe6fde7
parent411ef2be439abae8e187e1c608b0a8c24a758adc
max8903: store pointer to pdata instead of copying it.

Stores pointer to pdata because it easily allows pdata to reference
either platform data or in the future device tree data.

Signed-off-by: Chris Lapa <chris@lapa.com.au>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/max8903_charger.c