efivars: Parameterize operations.
commit3295814d83c55e629abc6c2a31af1d504febb229
authorMike Waychison <mikew@google.com>
Sat, 12 Mar 2011 01:43:21 +0000 (11 17:43 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Mar 2011 15:40:51 +0000 (14 08:40 -0700)
treef2d85849cbaab15903601b0a71d65a37350e082a
parent76b53f7c8bfa41f94ec32d84493a691f096e89f5
efivars: Parameterize operations.

Instead of letting efivars access struct efi directly when dealing with
variables, use an operations structure.  This allows a later change to
reuse the efivars logic without having to pretend to support everything
in struct efi.

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