firmware: Use bit flags instead of boolean combos
More than two boolean arguments to a function are rather confusing and error-prone for callers. Let's make the behavior bit flags instead of triple combos. A nice suggestion by Borislav Petkov. Acked-by: NBorislav Petkov <bp@suse.de> Acked-by: NPrarit Bhargava <prarit@redhat.com> Acked-by: NMing Lei <ming.lei@canonical.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录