[PATCH 0/2] HID: apple: improvements for code readability

From: Aditya Garg
Date: Tue Mar 04 2025 - 04:13:30 EST


Hi

This small patch series aims to improve the code readability in hid-apple.

The first patch moves the backlight report structs, that were incorrectly
placed between the translation tables, to other related backlight structs.

The second patch makes use of switch case statements for the ever
increasing lengthy device table for fn translation.

Aditya Garg (2):
HID: apple: move backlight report structs alongwith other backlight
structs
HID: apple: use switch case to set fn translation table

drivers/hid/hid-apple.c | 100 ++++++++++++++++++++++------------------
1 file changed, 54 insertions(+), 46 deletions(-)

--
2.43.0