dell-wmi: don't generate errors on empty messages
commitdb18b040af6571a7eeed9e1adc2e92c9c87e4b1a
authorMatthew Garrett <mjg@redhat.com>
Wed, 10 Jun 2009 19:40:48 +0000 (10 19:40 +0000)
committerLen Brown <len.brown@intel.com>
Thu, 18 Jun 2009 03:44:22 +0000 (17 23:44 -0400)
treed6da9d9d34e367612c574006d0ccbe7155d2b372
parent5cab0098171712a9fd51399b06181c8dfdebe9c9
dell-wmi: don't generate errors on empty messages

There's no point in generating kernel messages if we didn't receive a
parsable keyboard event - only do so if there appeared to be a scancode.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/dell-wmi.c