Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp427298lqt; Thu, 18 Apr 2024 22:57:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWy0qQ/QDfCScb5TI87yK9/SYsgTTC8FeiC2SIle72wrXWMSTApWBQfSAvFi0CFsBcWIK86MC7bg+UCMwgngM10c1b0L1fPjm1CPOEmGA== X-Google-Smtp-Source: AGHT+IHCrjs1q6uObaz1s/LNn+40+TrLH7SiPrmrPoaHgLTfzvkCS2Bt2oHYFw7ul5H9cI+g6wKF X-Received: by 2002:a2e:8903:0:b0:2da:6f70:56e6 with SMTP id d3-20020a2e8903000000b002da6f7056e6mr630393lji.24.1713506275292; Thu, 18 Apr 2024 22:57:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713506275; cv=pass; d=google.com; s=arc-20160816; b=ZhmZMJkU+tyyPsBwb39CdxgsxmhsHeYzGRhaq4REtYobc0x/ntUKTogNU1bnB5Ki/p N5BjvTmkVaPO03MhvRxJ8oeQl9NtOCyUmc0bsca7aVvQDtMJMUnZjwFxqMk83FwpTYKy jw52I8xbA6n7GizKoKV1xr7XtOlokcRGYnNqK6YpPEXz8+0+pazQz38ATm3Ef+JsaIW5 YUXqRUFh1oGTKL8jqZ2uMuSixroaQDZ5JtJISPVqKIegfGho2+LhAYnBSs2ghzkPyWa1 ZXTh+66293YNBs4dLOQNeE0x1HIIxBbmTGAofB3SSTR+V17OaCze81+Bek7ammx1c9eX xf9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=+ZB7e7XUe5wkh7tS8rGga34HlZkrVOtd1SGLeJlloyw=; fh=akYG9BYLDdx9vJRaYDtqhw74CDS/uvhTXCD7AwiNRS4=; b=0IedqR1Pp5dWE8YLwP/EhUBkjsNhoX7arAJZMJrxE9QsxEX3cwhhLqLYppZI40uruu wEOZSnfbb/1tvhQ/pasSdB84j3uexoXe4IzTI/5m6qblGh2ScUu70fGo1uDH/vvwFzBY 4pwsX6NqcvboFzYDAVBrablGGPIGF7eU9iS4IyLBorZ01eelCLRDQQpXVtOS46CtWFVY tnF/FBaQBZsyWGKeo7AFrxxuvCV3ejkHBpyvl5WmlP0UUVx1jSaOgqJ1vXezsHMYCzxG wBVM1BiVQ9xpaTcb7RF0IKseTN82xAdwX95jXByOfsbN/7wMmFKwig/jsDYC2luNYqIK HvNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=r6B0P9eN; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-151028-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t17-20020a50d711000000b00570b5eac86dsi1760224edi.141.2024.04.18.22.57.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 22:57:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151028-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=r6B0P9eN; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-151028-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 05DDC1F21D2B for ; Fri, 19 Apr 2024 05:57:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A22A0C8FF; Fri, 19 Apr 2024 05:57:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="r6B0P9eN" Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 918DAC2D6; Fri, 19 Apr 2024 05:57:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713506268; cv=none; b=HuMG0pQ3jxOKLTMSw7to0U8FfP2BKsf+DxsPdHx9ELC17SAp+cScAcRiI2Ces6D9X6OL3J7jRTedW2yuzG2gckaQfJ/kkwIm3sx42nS2Mi/7yQknC66F4YTOw6RAzufROknKChUP3uICWXZvh29p7fx4+rR9JgIBMSDunO+VLvc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713506268; c=relaxed/simple; bh=z201jFrS5jKsZKS6W4JbGz0MWMjnlrTns08t9Q853po=; h=From:To:Cc:Subject:Date:Message-Id; b=A1m4DaI/6OFmZVOzAOBDrOu0sQr3tt5JYye9G/rurBvIX3TmQQq9rHRmx/xtfeTZyrqlN+9u3MZ1Fq+YdtR9zUuB/sB+HJ622EnO+13vD4L4hdm1Auei3HgYi1agIple+6HXrE7I+o4Y4+xly63uoJKXmtKbocXGXixXiAqzf14= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=r6B0P9eN; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Received: by linux.microsoft.com (Postfix, from userid 1173) id 7176A20FD937; Thu, 18 Apr 2024 22:57:41 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7176A20FD937 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1713506261; bh=+ZB7e7XUe5wkh7tS8rGga34HlZkrVOtd1SGLeJlloyw=; h=From:To:Cc:Subject:Date:From; b=r6B0P9eNHYfL8Eln2mmTF6UxcVFR1zOPHRLT9COPU9WZu8v/C59hpfUO/CmAnBRAh wvrIwWayjRRKawXSxcd5/lYl9xmBG2lOmmnsU6GlSA98uHIOhsmOWfHr07L2A9FXaJ 8wNyWnMvJmB4u7hO/a1w+ipPwmMPykYvPKZ/fFXA= From: Erni Sri Satya Vennela To: kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ernis@microsoft.com, Erni Sri Satya Vennela Subject: [PATCH] hv/vmbus_drv: rename hv_acpi_init() to vmbus_init() Date: Thu, 18 Apr 2024 22:56:49 -0700 Message-Id: <1713506209-937-1-git-send-email-ernis@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: As the driver now supports both ACPI and DeviceTree, rename hv_acpi_init() to vmbus_init() and change comments accordingly. Signed-off-by: Erni Sri Satya Vennela --- drivers/hv/vmbus_drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 12a707ab73f8..e140cbf8d4c7 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -2609,7 +2609,7 @@ static struct syscore_ops hv_synic_syscore_ops = { .resume = hv_synic_resume, }; -static int __init hv_acpi_init(void) +static int __init vmbus_init(void) { int ret; @@ -2620,7 +2620,7 @@ static int __init hv_acpi_init(void) return 0; /* - * Get ACPI resources first. + * Get VMBus resources first. */ ret = platform_driver_register(&vmbus_platform_driver); if (ret) @@ -2707,5 +2707,5 @@ static void __exit vmbus_exit(void) MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Microsoft Hyper-V VMBus Driver"); -subsys_initcall(hv_acpi_init); +subsys_initcall(vmbus_init); module_exit(vmbus_exit); -- 2.34.1