power: regulator: act8846: get_enable should return integer
authorKeerthy <j-keerthy@ti.com>
Tue, 13 Jun 2017 04:23:47 +0000 (09:53 +0530)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 19 Jul 2017 10:13:59 +0000 (19:13 +0900)
commit85f87de3132db38143b58bae1805e4d066dc9524
tree9db92b5fd5a34cf52881da661de6fd6da5dc9612
parent0f2194d82581b6a455f9b3dad6bb8b4db6ad9893
power: regulator: act8846: get_enable should return integer

get_enable should be able to return error values. Hence change
the return type to integer.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/power/regulator/act8846.c