diff options
| author | Dan Carpenter <[email protected]> | 2016-05-26 09:45:42 +0300 |
|---|---|---|
| committer | MyungJoo Ham <[email protected]> | 2016-06-22 13:52:55 +0900 |
| commit | 674789dd2c4b53ed368dc81ae22d72ac4fdb92ec (patch) | |
| tree | 85a614f26acb314ff5325fb0f9b4ea10f954a86a /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | 67ffdb529b4ec9833f73947dec01eaa78dd53c3d (diff) | |
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 <[email protected]>
Reviewed-by: Julia Lawall <[email protected]>
Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions