All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Alex Hung <alex.hung@canonical.com>
Cc: Darren Hart <dvhart@infradead.org>,
	platform-driver-x86@vger.kernel.org,
	Andy Lutomirski <luto@amacapital.net>
Subject: Re: [PATCH] intel-hid: new hid event driver for hotkeys
Date: Thu, 29 Sep 2016 09:02:48 -0700	[thread overview]
Message-ID: <CAKdAkRQTw1KDJE_EmYeYAaVy0od-mnShmDax46Kh8Xcq6Ec4kw@mail.gmail.com> (raw)
In-Reply-To: <1450337402-4178-1-git-send-email-alex.hung@canonical.com>

Quite a bit late, but still:

On Wed, Dec 16, 2015 at 11:30 PM, Alex Hung <alex.hung@canonical.com> 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

  parent reply	other threads:[~2016-09-29 16:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-17  7:30 [PATCH] intel-hid: new hid event driver for hotkeys Alex Hung
2015-12-17 22:15 ` Darren Hart
2015-12-17 22:50   ` Andy Lutomirski
2015-12-17 23:01     ` Darren Hart
2015-12-18 15:28       ` Alex Hung
2016-09-29 16:02 ` Dmitry Torokhov [this message]
2016-09-29 17:29   ` Andy Lutomirski
2016-09-30 22:44     ` Dmitry Torokhov
2016-09-30 23:06       ` Andy Lutomirski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKdAkRQTw1KDJE_EmYeYAaVy0od-mnShmDax46Kh8Xcq6Ec4kw@mail.gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=alex.hung@canonical.com \
    --cc=dvhart@infradead.org \
    --cc=luto@amacapital.net \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.