eeepc-laptop: Check return values from rfkill_register
authorMatthew Garrett <mjg59@srcf.ucam.org>
Tue, 20 Jan 2009 15:17:47 +0000 (16:17 +0100)
committerLen Brown <len.brown@intel.com>
Tue, 20 Jan 2009 19:36:38 +0000 (14:36 -0500)
commitc9ddf8fede1271bde0a512fa94f77c4cb1ef4040
treed99cb2940a294260ec2cfa7956757b25d3856494
parentb5f6f26550700445dcc125bbf75b9104e779d353
eeepc-laptop: Check return values from rfkill_register

Error out if rfkill registration fails, and also set the default system state
appropriately on boot

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/eeepc-laptop.c