summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/apei/hest.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-02-22 05:39:30 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-02-23 00:30:25 +0100
commit3a3656d4011625cf98f8cc351968fe30af3cc9ac (patch)
tree7bd84c6a566f148ca81709a81c32c33b0a3f091c /drivers/acpi/apei/hest.c
parentPM / OPP: fix condition for empty of_init_opp_table() (diff)
downloadlinux-3a3656d4011625cf98f8cc351968fe30af3cc9ac.tar.xz
linux-3a3656d4011625cf98f8cc351968fe30af3cc9ac.zip
imx6q-cpufreq: fix return value check in imx6q_cpufreq_probe()
In case of error, the function devm_regulator_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/apei/hest.c')
0 files changed, 0 insertions, 0 deletions