summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpufreq_ondemand.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-12-17 14:58:18 +0300
committerMarc Zyngier <marc.zyngier@arm.com>2018-12-18 15:55:23 +0300
commit1fb51c975a80eab6b36fec203a178852fbb37665 (patch)
tree981157947700135efe06e36116a889d89bbe1032 /drivers/cpufreq/cpufreq_ondemand.c
parent893b0aff9a7aa68d2fcc999f16d66d142f180ca8 (diff)
downloadlinux-1fb51c975a80eab6b36fec203a178852fbb37665.tar.xz
irqchip/irq-rda-intc: Fix return value check in rda8810_intc_init()
In case of error, the function of_io_request_and_map() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: d852e62ad689 ("irqchip: Add RDA8810PL interrupt driver") Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_ondemand.c')
0 files changed, 0 insertions, 0 deletions