]> git.baikalelectronics.ru Git - kernel.git/commit
hp-wmi: fix regressions caused by missing if statement
authorFrans Pop <elendil@planet.nl>
Thu, 29 Jan 2009 22:25:14 +0000 (14:25 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 30 Jan 2009 02:04:44 +0000 (18:04 -0800)
commite8ba950af868794a1b04de27cbcd64a94d0d6e95
treea263480086af794d38ac995b54be21a6b4a8e6ff
parent460e668b8994f0f3e54e35e2c39b5da409c5db46
hp-wmi: fix regressions caused by missing if statement

Error was introduced in commit c5a4f9de101d ("hp-wmi: handle
rfkill_register() failure").

Signed-off-by: Frans Pop <elendil@planet.nl>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Matthew Garrett <mjg@redhat.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/platform/x86/hp-wmi.c