power: regulator: lp87565: get_enable should return integer
authorKeerthy <j-keerthy@ti.com>
Tue, 13 Jun 2017 04:23:56 +0000 (09:53 +0530)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 19 Jul 2017 10:13:59 +0000 (19:13 +0900)
commita79e8dfed6e8dad5887d37b59a497b8ebb17f8fa
tree3140a1c3c5135bbe1f8840cbdf5d6d6821c5ed4d
parent43d0247e3ef8e2f6551026d298dea84d9c7fb2d7
power: regulator: lp87565: 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/lp87565_regulator.c