diff options
author | 2021-12-13 14:49:22 +0100 | |
---|---|---|
committer | 2022-01-23 21:18:44 +0100 | |
commit | ae9a7d57f66a81deeaea15f4bfd4dd6ff547c530 (patch) | |
tree | ef471d358b62cb5d095021c2dc227550c51b8588 /drivers/media/platform/atmel | |
parent | media: atmel: atmel-isc: split the clock code into separate source file (diff) | |
download | linux-ae9a7d57f66a81deeaea15f4bfd4dd6ff547c530.tar.gz linux-ae9a7d57f66a81deeaea15f4bfd4dd6ff547c530.tar.bz2 linux-ae9a7d57f66a81deeaea15f4bfd4dd6ff547c530.zip |
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 <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/atmel')
-rw-r--r-- | drivers/media/platform/atmel/atmel-isc-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/atmel/atmel-isc-base.c b/drivers/media/platform/atmel/atmel-isc-base.c index 58f468d32613..26a6090f056c 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; |