Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1453269pxb; Fri, 22 Oct 2021 00:56:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvSu3VHpXt/VbaIdUgJnXUCaonJk7oDemrM2hGeP0iJD9pXc2vYONpkTM+ouyoKTC5YbhP X-Received: by 2002:a63:7504:: with SMTP id q4mr8081600pgc.103.1634889397845; Fri, 22 Oct 2021 00:56:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634889397; cv=none; d=google.com; s=arc-20160816; b=NQ8TJuQ2bvY6aPji8YL9Tre6/6s36WQL/0pmcsK7GyZKpGEoxO2pHMVL6SoGki/yGx 43XHBfoGUB3rqiHVk/oNLHk+ysZ2IUSEFAhjUZg/I+GaTmcSbvbCUIpuACwgcVqpRNo7 Z9cxpu0/7zMBhTYKWRLaDnvtkzp1e0nFcs11jwzlqc0pQS7VbAcJDiTv6apCRM5zleLl BuUY7d5jY3pAXHZkzGw1/i4e9PXZ5T1fUB1o3GSK89npy1YD2S8iH49Zyr//xtKHRiDi ccyk3rXV7cnTZDXgcyK18V58v6oNyoHQ2qzGWIRq3NOHzXSH5uHZPTOvtrxw1omwL5XH AF0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:dkim-signature; bh=igT0XTq8xGceX++7jR3qJCpHIRIoowbFm+MOvNfjZ5k=; b=V+D0nWcN796NeV0b+1NV/ubqqRmgQN4hFSbaLOlRkvlU0QWQfDY5Ip5yUpd1jsFA6O 20Zx2VG+EU2oI5bYeC2lWRUrFAfVNkrMoO4Gn9eVGHfh3rWr9HI8rRiED9OBrSDpGVoj 8s6hvkRPCMRtdiNdRf3R8v9rQyibULApcN2LUbUdiTsQ0mosf1OgeXrKgXdWzTSY+dFB /P7doFIQM9Vgo/fCiLOaLjUg9UeoKqRdlvhPw/2TumYo5Vtnj0nnbrsRs++g6gzisgUs xaMChtKroHQdSKOSbGJSvYU0taeMhzWZVr8lDBU8tM2SVGUnczu1vZ9qBLWf1Cwt3Pgu vdGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=qcCb2TQ+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oo7si18331512pjb.59.2021.10.22.00.56.25; Fri, 22 Oct 2021 00:56:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=qcCb2TQ+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232447AbhJVH4j (ORCPT + 99 others); Fri, 22 Oct 2021 03:56:39 -0400 Received: from esa.microchip.iphmx.com ([68.232.153.233]:55701 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232403AbhJVH4X (ORCPT ); Fri, 22 Oct 2021 03:56:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1634889246; x=1666425246; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6BOv8t6XXiIv6cggJ4nA8XW7gOqf6UXOIahF6kB4/v4=; b=qcCb2TQ+GWAp1s7NXwQ1ZxETtc48AwNJix+1DWNiuYCy5O8T9wvZq+l4 v95KWC6ovI0X/6m+uqnd3SRV5s6GR0wdCvP5O85ae7H7faEDBH4z3iFsF SgENHDyVkuwZgW90T9xx2jF2lDWHpoFiJDoO4rgzup78K4jJHHMBnFPjX 82HINy3JevuWiw9QR2KMjRs0NjerOE/V2k8qX5v4C4k0650IlDPDjwRIz U1NQpHFJCRV2vGIoLh3qFrJZyfgMc4Hh4JXB7Eu2nuxTquwCd9hgNNUAZ c4TzwX3Vl4d2nUvE9nRF413cHytzTfbeUoqkaJY8p8mxkTJVWOZKgHu7I g==; IronPort-SDR: OlS2KaopDJCX//rpSBhrtdHebAKks669tV0QOW9GSDw8ZNyqYaX4FgcXYlH5MLAidr6wKfSv2Y Ce7csUHW21y2p19P5hYthSO4OMnr7kyuepcQNSD933DTaB/s6hwt22EhpYYvnJunxhvKEcDmqn ZqleZ0L1Y4QqG7nNiURg5OqzbWTtS3hUtk8Lq7/3vmoRikTAnlQl4sxCXIcv5YDhivVA7hNlRC 8Wxg6w3aq50ZxULfoFQ2KVcNNCLuYyHpb5odyrLwnhLhFh1gVCJBMxl+vyh27f5vrSjcwrluea cdayXOuo0JebuajjX/Sz7nHR X-IronPort-AV: E=Sophos;i="5.87,172,1631602800"; d="scan'208";a="149141186" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 22 Oct 2021 00:54:05 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 22 Oct 2021 00:54:05 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 22 Oct 2021 00:54:02 -0700 From: Eugen Hristev To: , , , CC: , , , , , Eugen Hristev Subject: [PATCH 06/21] media: atmel: atmel-isc: replace video device name with module name Date: Fri, 22 Oct 2021 10:52:32 +0300 Message-ID: <20211022075247.518880-7-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211022075247.518880-1-eugen.hristev@microchip.com> References: <20211022075247.518880-1-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To have consistency with future media controller development, replace the video device name with KBUILD_MODNAME. Signed-off-by: Eugen Hristev --- drivers/media/platform/atmel/atmel-isc-base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/atmel/atmel-isc-base.c b/drivers/media/platform/atmel/atmel-isc-base.c index f532fd03e807..f3e89a892373 100644 --- a/drivers/media/platform/atmel/atmel-isc-base.c +++ b/drivers/media/platform/atmel/atmel-isc-base.c @@ -1887,7 +1887,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; -- 2.25.1