From: Hans Verkuil Date: Mon, 3 Feb 2020 11:41:16 +0000 (+0100) Subject: media: media/i2c/video-i2c: rename VFL_TYPE_GRABBER to _VIDEO X-Git-Tag: v5.7-rc1~193^2~197 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6347953e0df1a38da11ab9088d8f60f73589bad4;p=thirdparty%2Fkernel%2Flinux.git media: media/i2c/video-i2c: rename VFL_TYPE_GRABBER to _VIDEO 'GRABBER' is a weird name, all other types map to the /dev device names. Rename to 'VIDEO' to be consistent with the other types. Signed-off-by: Hans Verkuil Cc: Matt Ranostay Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/video-i2c.c b/drivers/media/i2c/video-i2c.c index 078141712c887..3c770ecd4bf7f 100644 --- a/drivers/media/i2c/video-i2c.c +++ b/drivers/media/i2c/video-i2c.c @@ -858,7 +858,7 @@ static int video_i2c_probe(struct i2c_client *client, } } - ret = video_register_device(&data->vdev, VFL_TYPE_GRABBER, -1); + ret = video_register_device(&data->vdev, VFL_TYPE_VIDEO, -1); if (ret < 0) goto error_pm_disable;