mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 07:10:27 +00:00
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 <hverkuil-cisco@xs4all.nl> Cc: Matt Ranostay <matt.ranostay@konsulko.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
a911268349
commit
6347953e0d
@ -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)
|
if (ret < 0)
|
||||||
goto error_pm_disable;
|
goto error_pm_disable;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user