regulator: fixed: Remove workaround to handle of_get_named_gpio() return
authorLaxman Dewangan <ldewangan@nvidia.com>
Sun, 13 Mar 2016 13:16:57 +0000 (18:46 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 30 May 2016 15:29:34 +0000 (16:29 +0100)
commitf5a6d3516362f85d6a07e930bc10cd4b59f306c7
tree7c9d79b686aedd9a8e1836bfd9e81cc2efcf7a8f
parent1a695a905c18548062509178b98bc91e67510864
regulator: fixed: Remove workaround to handle of_get_named_gpio() return

The GPIO interface of_get_named_gpio() has implemented the proper
error returns even EPROBE_DEFER and hence caller need not to
implement any workaround for translating the returned error.

Remove the workaround implemented to handle the return of
of_get_named_gpio().

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/fixed.c