efivars: Split out variable registration
commit76b53f7c8bfa41f94ec32d84493a691f096e89f5
authorMike Waychison <mikew@google.com>
Sat, 12 Mar 2011 01:43:16 +0000 (11 17:43 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Mar 2011 15:40:50 +0000 (14 08:40 -0700)
tree8871334a623c53ad993c538932ad82b12ebb47a4
parent4142ef146aee440731de956d9f9f3170d5a238ae
efivars: Split out variable registration

In anticipation of re-using the variable facilities in efivars from
elsewhere, split out the registration and unregistration of struct
efivars from the rest of the EFI specific sysfs code.

Signed-off-by: Mike Waychison <mikew@google.com>
Cc: Matt Domsch <Matt_Domsch@dell.com>,
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/firmware/efivars.c