diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-04-01 12:04:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-01 12:27:28 -0700 |
commit | 422a3063802c9c1f9ef1bf7daa71038b91aff2ab (patch) | |
tree | da603444ef7dfd87f395a3ae9e4ddec6a195457d /lib/cpu-notifier-error-inject.c | |
parent | af56976dd21efe8e91d5175913c2b1f7be91c651 (diff) |
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>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions