]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit3a06193e506b5803787fa58d91d7bfae3b7eb67e
tree5243c06c3a79b76505ca26469d91d1490d06490c
parent357a019d1e7cdd2652ecf8a9b39dd72c39e03747
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