Re: [PATCH 2/2] ptp/ptp_vmw: load ptp_vmw driver by directly probing the device

From: Jakub Kicinski
Date: Mon Aug 25 2025 - 19:12:02 EST


On Thu, 21 Aug 2025 11:03:23 +0000 Ajay Kaher wrote:
> static int __init ptp_vmw_init(void)
> {
> - if (x86_hyper_type != X86_HYPER_VMWARE)
> - return -1;
> - return acpi_bus_register_driver(&ptp_vmw_acpi_driver);
> +
> + int error = -ENODEV;
> +

checkpatch says:

CHECK: Blank lines aren't necessary after an open brace '{'
#110: FILE: drivers/ptp/ptp_vmw.c:168:
{
+

--
pw-bot: cr