Commit 0f8093a9 authored by Matt Fleming's avatar Matt Fleming
Browse files

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: default avatarMatt Fleming <matt.fleming@intel.com>
parent 3e909599
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment