History

Input: omap-keypad - drop optional GPIO support

The driver supports passing some GPIO lines for rows and columns through the driver data, but there is no in-kernel user of this. Further the use seems convoluted because the GPIO lines are unused in the driver, then explicitly free:ed when removing it without being requested when probing it, which is assymetric and just a recepie for disaster. Remove the support for these unused GPIOs, if need be support can be reestablished in an organized fashion using GPIO descriptors.

Linus Walleij committed 2 years ago

Commit e53c18d1 parent 1ba05c92 files · +1 −21Browse files

Showing the changes to include/linux/platform_data (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/keypad-omap.h+0−3
@@ -19,9 +19,6 @@ struct omap_kp_platform_data { · 18 unmodified lines
1919 bool rep;
2020 unsigned long delay;
2121 bool dbounce;
22− /* specific to OMAP242x*/
23− unsigned int *row_gpios;
24− unsigned int *col_gpios;
2522 };
2623
2724 /* Group (0..3) -- when multiple keys are pressed, only the

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t