]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: ti-soc-thermal: return error in case power switch is not supported
authorEduardo Valentin <eduardo.valentin@ti.com>
Mon, 1 Apr 2013 16:04:33 +0000 (12:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Apr 2013 19:27:28 +0000 (12:27 -0700)
commit422a3063802c9c1f9ef1bf7daa71038b91aff2ab
treeda603444ef7dfd87f395a3ae9e4ddec6a195457d
parentaf56976dd21efe8e91d5175913c2b1f7be91c651
staging: ti-soc-thermal: return error in case power switch is not supported

Improve ti_bandgap_power by returning an error code in case
the device does not support controlling its power state.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ti-soc-thermal/ti-bandgap.c