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)
commit6989d5651a16b49908069b514329d5114217ea0e
treea263480086af794d38ac995b54be21a6b4a8e6ff
parent8d50d369d1b3ccc4d96ce01f62146173ee7064ca
hp-wmi: fix regressions caused by missing if statement

Error was introduced in commit fe8e4e039dc3 ("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