]> git.baikalelectronics.ru Git - kernel.git/commit
max8903: adds requesting of gpios.
authorChris Lapa <chris@lapa.com.au>
Fri, 24 Jun 2016 02:26:09 +0000 (12:26 +1000)
committerSebastian Reichel <sre@kernel.org>
Tue, 28 Jun 2016 18:05:41 +0000 (20:05 +0200)
commitff887b21860c768c1335fcd00286d27fe6bbaa6a
tree3818c7b4d0d5cb4c188fb2ea524c06af9b6c47db
parentf02ed43d2599c9c21169f943ec2ba5846b4ac0b4
max8903: adds requesting of gpios.

This change ensures all gpios are available for the driver to use and also
splits off gpio setup into its own function for readability.

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