Re: [PATCH] intel-hid: new hid event driver for hotkeys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quite a bit late, but still:

On Wed, Dec 16, 2015 at 11:30 PM, Alex Hung <alex.hung@xxxxxxxxxxxxx> wrote:
> +
> +static int __init intel_hid_init(void)
> +{
> +       acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT,
> +                           ACPI_UINT32_MAX, check_acpi_dev, NULL,
> +                           (void *)intel_hid_ids, NULL);
> +
> +       return platform_driver_register(&intel_hid_pl_driver);
> +}

Why do we need to walk instantiate the device ourselves instead of
having ACPI core do it for us? I also see this pattern in intel-vbtn.c
now.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux