kernel_optimize_test/drivers/devfreq
Gustavo A. R. Silva 48bbf63751 PM / devfreq: imx-bus: Fix inconsistent IS_ERR and PTR_ERR
Fix inconsistent IS_ERR and PTR_ERR in imx_bus_init_icc().

The proper pointer to be passed as argument to PTR_ERR() is
priv->icc_pdev.

This bug was detected with the help of Coccinelle.

Fixes: 16c1d2f1b0bd ("PM / devfreq: imx: Register interconnect device")
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
[cw00.choi: Edit the patch title from 'imx' to 'imx-bus']
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2020-05-28 18:02:40 +09:00
..
event PM / devfreq: exynos: Rename Exynos to lowercase 2020-01-06 10:50:09 +09:00
devfreq-event.c PM / devfreq: Fix multiple kernel-doc warnings 2019-12-30 09:59:06 +09:00
devfreq.c PM / devfreq: Replace strncpy with strscpy 2020-05-28 18:02:39 +09:00
exynos-bus.c PM / devfreq: exynos-bus: Add error log when fail to get devfreq-event 2019-12-30 09:59:06 +09:00
governor_passive.c PM / devfreq: passive: fix compiler warning 2019-08-26 21:37:37 +09:00
governor_performance.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
governor_powersave.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
governor_simpleondemand.c PM / devfreq: Change to DEVFREQ_GOV_UPDATE_INTERVAL event name 2020-03-25 08:35:03 +09:00
governor_userspace.c PM / devfreq: Use constant name of userspace governor 2020-03-25 08:35:03 +09:00
governor.h PM / devfreq: Fix a typo in a comment 2020-03-25 08:35:03 +09:00
imx-bus.c PM / devfreq: imx-bus: Fix inconsistent IS_ERR and PTR_ERR 2020-05-28 18:02:40 +09:00
imx8m-ddrc.c PM / devfreq: imx8m-ddrc: Fix inconsistent IS_ERR and PTR_ERR 2019-12-31 03:09:57 +09:00
Kconfig PM / devfreq: Add generic imx bus scaling driver 2020-05-28 18:02:39 +09:00
Makefile PM / devfreq: Add generic imx bus scaling driver 2020-05-28 18:02:39 +09:00
rk3399_dmc.c PM / devfreq: rk3399_dmc: Disable devfreq-event device when fails 2019-12-30 09:59:06 +09:00
tegra20-devfreq.c PM / devfreq: Introduce driver for NVIDIA Tegra20 2019-08-24 20:11:12 +09:00
tegra30-devfreq.c PM / devfreq: tegra30: Delete an error message in tegra_devfreq_probe() 2020-05-28 18:02:39 +09:00