diff options
author | Colin King <colin.king@canonical.com> | 2010-11-19 15:40:02 (GMT) |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-01-07 22:03:41 (GMT) |
commit | 58f6425eb92f54943878b0b3f9c1e51f99c2cb72 (patch) | |
tree | aa4a5083adbf03561b9aee2d36129e0e7a5e2aa9 /drivers/platform/x86/classmate-laptop.c | |
parent | 3098064d3b4a9bf9d2855b2a89599ad77695e324 (diff) | |
download | linux-fsl-qoriq-58f6425eb92f54943878b0b3f9c1e51f99c2cb72.tar.xz |
WMI: Cater for multiple events with same GUID
WMI data blocks can contain WMI events with the same GUID but with
different notifiy_ids, for example volume up/down hotkeys.
This patch enables a single event handler to be registered and
unregistered against all events with same GUID but different
notify_ids. Since an event handler is passed the notify_id of
an event it can can differentiate between the different events.
The patch also ensures we only register and unregister a device per
unique GUID.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/classmate-laptop.c')
0 files changed, 0 insertions, 0 deletions