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>
(cherry picked from commit 0f8093a92da77afe24fd258a5a1037bb2b97a870)
Signed-off-by: Mark Brown <broonie@kernel.org>
2 files changed