linux/drivers/media/platform/vimc
Wei Yongjun 3863360c15 media: vimc: Fix return value check in vimc_add_subdevs()
In case of error, the function platform_device_register_data() 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 <weiyongjun1@huawei.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2017-10-27 14:00:11 +02:00
..
Kconfig
Makefile [media] vimc: sca: Add scaler 2017-06-23 09:15:16 -03:00
vimc-capture.c media: vimc: set id_table for platform drivers 2017-07-17 11:26:56 -03:00
vimc-common.c [media] vimc: sca: Add scaler 2017-06-23 09:15:16 -03:00
vimc-common.h [media] vimc: sca: Add scaler 2017-06-23 09:15:16 -03:00
vimc-core.c media: vimc: Fix return value check in vimc_add_subdevs() 2017-10-27 14:00:11 +02:00
vimc-debayer.c media: vimc: constify video_subdev structures 2017-08-20 08:04:30 -04:00
vimc-scaler.c media: vimc: constify video_subdev structures 2017-08-20 08:04:30 -04:00
vimc-sensor.c media: vimc: constify video_subdev structures 2017-08-20 08:04:30 -04:00