* [PATCH] hv/vmbus_drv: rename hv_acpi_init() to vmbus_init()
@ 2024-04-19 5:56 Erni Sri Satya Vennela
2024-04-22 22:30 ` Wei Liu
0 siblings, 1 reply; 2+ messages in thread
From: Erni Sri Satya Vennela @ 2024-04-19 5:56 UTC (permalink / raw)
To: kys, haiyangz, wei.liu, decui, linux-hyperv, linux-kernel
Cc: ernis, Erni Sri Satya Vennela
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 <ernis@linux.microsoft.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] hv/vmbus_drv: rename hv_acpi_init() to vmbus_init()
2024-04-19 5:56 [PATCH] hv/vmbus_drv: rename hv_acpi_init() to vmbus_init() Erni Sri Satya Vennela
@ 2024-04-22 22:30 ` Wei Liu
0 siblings, 0 replies; 2+ messages in thread
From: Wei Liu @ 2024-04-22 22:30 UTC (permalink / raw)
To: Erni Sri Satya Vennela
Cc: kys, haiyangz, wei.liu, decui, linux-hyperv, linux-kernel, ernis
On Thu, Apr 18, 2024 at 10:56:49PM -0700, Erni Sri Satya Vennela wrote:
> 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 <ernis@linux.microsoft.com>
Applied. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-22 22:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-19 5:56 [PATCH] hv/vmbus_drv: rename hv_acpi_init() to vmbus_init() Erni Sri Satya Vennela
2024-04-22 22:30 ` Wei Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).