From: Frans Pop Date: Thu, 30 Jul 2009 21:16:05 +0000 (-0400) Subject: hp-wmi: check that an input device exists in resume handler X-Git-Tag: v2.6.31-rc6~85^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daed953721850381673687c59f3a0df553eb6626;p=pandora-kernel.git hp-wmi: check that an input device exists in resume handler Some systems may not support input events, or registering the input handler may have failed. So check that an input device exists before trying to set the docking and tablet mode state during resume. Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=13865 Reported-and-tested-by: Cédric Godin Signed-off-by: Frans Pop Acked-by: Matthew Garrett Signed-off-by: Len Brown --- Reading git-diff-tree failed