From: Colin King Date: Fri, 19 Nov 2010 15:40:02 +0000 (+0000) Subject: WMI: Cater for multiple events with same GUID X-Git-Tag: v2.6.38-rc1~424^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58f6425eb92f54943878b0b3f9c1e51f99c2cb72;p=pandora-kernel.git 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 Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed