]> git.baikalelectronics.ru Git - kernel.git/commit
efi: Set feature flags inside feature init functions
authorMatt Fleming <matt.fleming@intel.com>
Wed, 15 Jan 2014 13:36:33 +0000 (13:36 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 4 Mar 2014 16:16:16 +0000 (16:16 +0000)
commitf9118a66ea36678db68cd435dd40dc738879c077
treeacd0f1a2db891fb906e33014fc5356f0f4c80acd
parentbc0f4f33dadd77904c63ae763bff78fc330035dd
efi: Set feature flags inside feature init functions

It makes more sense to set the feature flag in the success path of the
detection function than it does to rely on the caller doing it. Apart
from it being more logical to group the code and data together, it sets
a much better example for new EFI architectures.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/platform/efi/efi.c
drivers/firmware/efi/efi.c