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