]> git.sur5r.net Git - u-boot/commit
power: regulator: lp873x: get_enable should return integer
authorKeerthy <j-keerthy@ti.com>
Tue, 13 Jun 2017 04:23:55 +0000 (09:53 +0530)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 19 Jul 2017 10:13:59 +0000 (19:13 +0900)
commit43d0247e3ef8e2f6551026d298dea84d9c7fb2d7
tree584ad0e94b5f8ede2af9935d9f4f5f45f569738e
parent4e98a140c8a7d8accd0101be17227f29aa1ec41f
power: regulator: lp873x: 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/lp873x_regulator.c