Re: [PATCH] cpufreq: OMAP: Check IS_ERR() instead of NULL for omap_device_get_by_hwmod_name

2012-09-19 Thread Kevin Hilman
Rafael J. Wysocki r...@sisk.pl writes: On Tuesday, September 18, 2012, Axel Lin wrote: omap_device_get_by_hwmod_name() returns ERR_PTR on error. Signed-off-by: Axel Lin axel@gmail.com Kevin, should I take this? Yes, please. Acked-by: Kevin Hilman khil...@ti.com Thanks, Kevin --

Re: [PATCH] cpufreq: OMAP: Check IS_ERR() instead of NULL for omap_device_get_by_hwmod_name

2012-09-19 Thread Rafael J. Wysocki
On Wednesday, September 19, 2012, Kevin Hilman wrote: Rafael J. Wysocki r...@sisk.pl writes: On Tuesday, September 18, 2012, Axel Lin wrote: omap_device_get_by_hwmod_name() returns ERR_PTR on error. Signed-off-by: Axel Lin axel@gmail.com Kevin, should I take this? Yes,

Re: [PATCH] cpufreq: OMAP: Check IS_ERR() instead of NULL for omap_device_get_by_hwmod_name

2012-09-18 Thread Rafael J. Wysocki
On Tuesday, September 18, 2012, Axel Lin wrote: omap_device_get_by_hwmod_name() returns ERR_PTR on error. Signed-off-by: Axel Lin axel@gmail.com Kevin, should I take this? Rafael --- drivers/cpufreq/omap-cpufreq.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH] cpufreq: OMAP: Check IS_ERR() instead of NULL for omap_device_get_by_hwmod_name

2012-09-17 Thread Axel Lin
omap_device_get_by_hwmod_name() returns ERR_PTR on error. Signed-off-by: Axel Lin axel@gmail.com --- drivers/cpufreq/omap-cpufreq.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c index