diff options
author | Axel Lin <[email protected]> | 2012-09-19 22:00:10 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2012-09-19 22:00:10 +0200 |
commit | 1bae9958f8b0162aadf79e2ac20bcc9a409bb661 (patch) | |
tree | a49d0ac9320eaa7b33d876ee3145b0d1a38cd978 /tools/perf/util/trace-event-scripting.c | |
parent | cd664cc3a574b30988476143c1dcc9298b1fa531 (diff) |
cpufreq: OMAP: Check IS_ERR() instead of NULL for omap_device_get_by_hwmod_name
omap_device_get_by_hwmod_name() returns ERR_PTR on error.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Kevin Hilman <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions