diff options
author | Aditya Garg <gargaditya08@live.com> | 2025-05-19 15:16:17 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-06-10 22:22:29 +0300 |
commit | b45944946a19636f7bbded0763b536ce007c3c9b (patch) | |
tree | 2bbe70193737602af2d6505bd4847672a5486b6b /scripts/lib/kdoc/kdoc_files.py | |
parent | 4e960bb550962fe5bfbcbb34ed59c1af9daff9fa (diff) | |
download | linux-b45944946a19636f7bbded0763b536ce007c3c9b.tar.xz |
HID: apple: use switch case to set fn translation table
There has been a continuous increase in the number of devices requiring
hid-apple driver during the last few years. Moreover, unlike previous
releases, the PIDs of the newer devices released cannot be combined in a
specific range, thus filling up the if else if statements with individual
device IDs. For such large table, its now more suitable to use switch case
instead of if else if for improved readability.
Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions