From: Eugen Hristev Date: Mon, 13 Dec 2021 13:49:22 +0000 (+0100) Subject: media: atmel: atmel-isc: replace video device name with module name X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ae9a7d57f66a81deeaea15f4bfd4dd6ff547c530;p=linux.git media: atmel: atmel-isc: replace video device name with module name To have consistency with future media controller development, replace the video device name with KBUILD_MODNAME. Signed-off-by: Eugen Hristev Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/atmel/atmel-isc-base.c b/drivers/media/platform/atmel/atmel-isc-base.c index 58f468d326139..26a6090f056c5 100644 --- a/drivers/media/platform/atmel/atmel-isc-base.c +++ b/drivers/media/platform/atmel/atmel-isc-base.c @@ -1886,7 +1886,7 @@ static int isc_async_complete(struct v4l2_async_notifier *notifier) } /* Register video device */ - strscpy(vdev->name, "microchip-isc", sizeof(vdev->name)); + strscpy(vdev->name, KBUILD_MODNAME, sizeof(vdev->name)); vdev->release = video_device_release_empty; vdev->fops = &isc_fops; vdev->ioctl_ops = &isc_ioctl_ops;