Skip to content
Commit 1bae9958 authored by Axel Lin's avatar Axel Lin Committed by Rafael J. Wysocki
Browse files

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: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarKevin Hilman <khilman@ti.com>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent cd664cc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment