cpufreq: OMAP: Check IS_ERR() instead of NULL for omap_device_get_by_hwmod_name
authorAxel Lin <axel.lin@gmail.com>
Wed, 19 Sep 2012 20:00:10 +0000 (22:00 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 19 Sep 2012 20:00:10 +0000 (22:00 +0200)
omap_device_get_by_hwmod_name() returns ERR_PTR on error.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

No differences found