hp-wmi: Fix mixing up of and/or directive
authorThomas Renninger <trenn@suse.de>
Thu, 29 Jul 2010 10:27:59 +0000 (12:27 +0200)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:49:12 +0000 (09:49 -0400)
commitc4775062d57c762de37ff93fb5f8611320c25e2a
tree193ff932df87e6aa20f4dcebb2682d8b8d17be75
parent4519169b8f096957e4474e9a17206b2026dab0b3
hp-wmi: Fix mixing up of and/or directive

This should have been an "and". Additionally checking for !obj
is even better.

Signed-off-by: Thomas Renninger <trenn@suse.de>
CC: linux-acpi@vger.kernel.or
CC: platform-driver-x86@vger.kernel.org
CC: mjg@redhat.com
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/hp-wmi.c