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