hp-wmi: fix regressions caused by missing if statement
authorFrans Pop <[email protected]>
Thu, 29 Jan 2009 22:25:14 +0000 (14:25 -0800)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Acked-by: Larry Finger <[email protected]>
Acked-by: Matthew Garrett <[email protected]>
Cc: Matthew Garrett <[email protected]>
Cc: Len Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/platform/x86/hp-wmi.c