media: v4l2-core: v4l2-i2c: convert to new API with ERRPTR
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 16 Dec 2019 15:51:43 +0000 (16:51 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 14:21:52 +0000 (15:21 +0100)
commit2e1b100cdceb41ad05edc467a43e5affd2c87b6d
tree2e38f8b6307f80070985267b6adcb2a623793fa4
parente18976eecabd252ca406ae2325e983f8eaa348cd
media: v4l2-core: v4l2-i2c: convert to new API with ERRPTR

Use the new APIs instead of the deprecated ones.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-i2c.c