hp-wmi: handle rfkill_register() failure
authorLarry Finger <[email protected]>
Sat, 10 Jan 2009 00:40:54 +0000 (16:40 -0800)
committerLinus Torvalds <[email protected]>
Sat, 10 Jan 2009 00:54:41 +0000 (16:54 -0800)
commitfe8e4e039dc3680681bf51af097af391f87038f8
tree6a28b7972f982cb91d32095f7889aa8733ab9966
parent85c210edc46d602a1562aeea0fc74919349c8cf0
hp-wmi: handle rfkill_register() failure

Compilation of the HP WMI hotkeys code results in the following:

  CC [M]  drivers/platform/x86/hp-wmi.o
drivers/platform/x86/hp-wmi.c: In function hp_wmi_bios_setup:
drivers/platform/x86/hp-wmi.c:431: warning: ignoring return value of rfkill_register,
 declared with attribute warn_unused_result
drivers/platform/x86/hp-wmi.c:441: warning: ignoring return value of rfkill_register,
 declared with attribute warn_unused_result
drivers/platform/x86/hp-wmi.c:450: warning: ignoring return value of rfkill_register,
 declared with attribute warn_unused_result

Signed-off-by: Larry Finger <[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