diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-12-02 15:38:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-08 18:22:32 -0800 |
commit | 14c4bae77c80bd37f19d95405d42bd0b1fd95add (patch) | |
tree | 20922f074d84715b7230d4fd1d0b6ae287c8b654 /scripts/genksyms | |
parent | 75da02b29fd99cb2d6ac822f2864de4d6e35b9fd (diff) |
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: Borislav Petkov <bp@suse.de>
Acked-by: Prarit Bhargava <prarit@redhat.com>
Acked-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/genksyms')
0 files changed, 0 insertions, 0 deletions