aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-02-24 10:46:59 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-02-24 10:46:59 +0000
commit86287958bdc49e17dfe3dc8a5dd6234235d9c945 (patch)
tree84faa506dad928120bd1ff345885ad03d670f893 /virt/kvm/kvm_main.c
parentb269b1709d17794bef0397b3de7d1db72bdef926 (diff)
downloadkernel_goldelico_gta04-86287958bdc49e17dfe3dc8a5dd6234235d9c945.zip
kernel_goldelico_gta04-86287958bdc49e17dfe3dc8a5dd6234235d9c945.tar.gz
kernel_goldelico_gta04-86287958bdc49e17dfe3dc8a5dd6234235d9c945.tar.bz2
ARM: cleanup: clk_get() error handling
Use the correct IS_ERR() to determine if clk_get() returned an error. Set timer->fclk to be an error value initially, and check everywhere using IS_ERR(). This keeps the range of valid values for 'struct clk' consistent. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions