ARM: cleanup: clk_get_sys() error handling
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 24 Feb 2013 10:51:00 +0000 (10:51 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 24 Feb 2013 10:51:00 +0000 (10:51 +0000)
commit23cbd4e84f98b36c91d19990760207112f142c5b
tree7baf767c58c70c54cee75311f0b73a196c234354
parentf863440d54fccbcd0ef0f6d96d81521e0fa41e35
ARM: cleanup: clk_get_sys() error handling

Fix clk_get_sys() error handling; IS_ERR() should be used rather than
IS_ERR_OR_NULL() to check for errors.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-tegra/tegra2_emc.c