diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-07-03 20:52:15 +0200 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2023-07-28 17:05:48 +0200 |
commit | b5ac00880a57273ed4d8ba6d37c91c1fd261b191 (patch) | |
tree | 1dae0df351f5309fe1cc4a9961cbf51de731f6b6 /drivers/hid/hid-tivo.c | |
parent | HID: cp2112: Switch to for_each_set_bit() to simplify the code (diff) | |
download | linux-b5ac00880a57273ed4d8ba6d37c91c1fd261b191.tar.xz linux-b5ac00880a57273ed4d8ba6d37c91c1fd261b191.zip |
HID: cp2112: Don't call ->to_irq() explicitly
GPIO library guarantees that ->to_irq() is always exists.
Moreover, it tending to become a nische thingy and has to
not be used in ordinary drivers. Hence, replace that by
irq_find_mapping().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230703185222.50554-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'drivers/hid/hid-tivo.c')
0 files changed, 0 insertions, 0 deletions