regulator: Change get_enable return type to integer from bool
authorKeerthy <j-keerthy@ti.com>
Tue, 13 Jun 2017 04:23:45 +0000 (09:53 +0530)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 19 Jul 2017 10:13:59 +0000 (19:13 +0900)
commit06bdf6003b6951154bf1d0876fc7174c53df766c
tree5243c06c3a79b76505ca26469d91d1490d06490c
parent343749c42554b058e53086aefe21d47b383326d5
regulator: Change get_enable return type to integer from bool

Change get_enable return type to int so errors can be returned.

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