diff options
author | Vasyl Gomonovych <gomonovych@gmail.com> | 2018-01-04 16:53:49 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-01-04 16:53:49 +0100 |
commit | 1c72004c890be1af257f705a9eb7976f167f8c81 (patch) | |
tree | 6c40cfd61a19cd4034765134f7a504a22838a4d2 /drivers/hwmon/adm1025.c | |
parent | fbdev: au1200fb: delete duplicate header contents (diff) | |
download | linux-1c72004c890be1af257f705a9eb7976f167f8c81.tar.xz linux-1c72004c890be1af257f705a9eb7976f167f8c81.zip |
video: fbdev: omap2: Use PTR_ERR_OR_ZERO()
Fix ptr_ret.cocci warnings:
drivers/video/fbdev/omap2/omapfb/dss/hdmi4.c:676:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/hwmon/adm1025.c')
0 files changed, 0 insertions, 0 deletions