]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita20cfe5ce82c37cc9f2d795f0eed2f6a1bb9f6f7
tree26ea067e1b790b8bdd23aaeec20d13b21fe6fde7
parentdb69bd11a220e9924b0319f10515b36136877a6e
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