commit | f3019092eca09f3d093dbc306bf118daff15bfd2 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu May 20 12:46:05 2021 +0300 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu May 20 13:43:22 2021 +0300 |
tree | b1e12daf6f063a8c845bb16f2d4988c047644e00 | |
parent | 5b2d3326cdf83fde3590f45c93507c1c852327e8 [diff] |
gpio: wcove: Use IRQ hardware number getter instead of direct access IRQ framework provides special type and getter to transform Linux IRQ to the hardware pin. Use that type and getter function instead of direct access. No functional changes intended. While at it, remove unneeded check in wcove_update_irq_ctrl() since it is guaranteed that function will be called with valid parameter. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>