summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-05-26 08:45:42 +0200
committerMyungJoo Ham <myungjoo.ham@samsung.com>2016-06-22 06:52:55 +0200
commit674789dd2c4b53ed368dc81ae22d72ac4fdb92ec (patch)
tree85a614f26acb314ff5325fb0f9b4ea10f954a86a /block
parentPM / devfreq: remove double put_device (diff)
downloadlinux-674789dd2c4b53ed368dc81ae22d72ac4fdb92ec.tar.xz
linux-674789dd2c4b53ed368dc81ae22d72ac4fdb92ec.zip
PM / devfreq: exynos-nocp: Remove incorrect IS_ERR() check
Smatch complains because platform_get_resource() returns NULL on error and not an error pointer so the check is wrong. Julia Lawall pointed out that normally we don't check these, because devm_ioremap_resource() has a check for NULL. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions