linux/drivers/media/platform/rcar-vin
Niklas Söderlund 0c31086882 media: rcar-csi2: Fix coccinelle warning for PTR_ERR_OR_ZERO()
Use the PTR_ERR_OR_ZERO() macro instead of construct:

    if (IS_ERR(foo))
        return PTR_ERR(foo);

    return 0;

Fixes: 3ae854cafd76 ("rcar-csi2: Use standby mode instead of resetting")

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-28 12:50:03 -04:00
..
Kconfig media: rcar-csi2: Use standby mode instead of resetting 2019-04-22 12:12:55 -04:00
Makefile media: rcar-vin: convert to SPDX identifiers 2018-08-03 16:03:45 -04:00
rcar-core.c media: rcar-vin: Enable support for r8a774a1 2019-03-19 13:47:14 -04:00
rcar-csi2.c media: rcar-csi2: Fix coccinelle warning for PTR_ERR_OR_ZERO() 2019-05-28 12:50:03 -04:00
rcar-dma.c media: rcar-dma: p_set can't be NULL 2019-03-25 18:02:31 -04:00
rcar-v4l2.c media: platform: fix several typos 2019-03-01 09:35:21 -05:00
rcar-vin.h media: rcar-vin: convert to SPDX identifiers 2018-08-03 16:03:45 -04:00