commit | 4124c4eba40256b65acb5016a1edfdd59a1960b6 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Mar 01 11:45:51 2017 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sat Apr 01 09:36:19 2017 -0700 |
tree | 6e4ca51577d3df12ada66b8bc62abfd7d444c5a7 | |
parent | 0daaf99d8424f12cdf87e00c435c9cb93667f519 [diff] |
i2c: allow attaching IRQ resources to i2c_board_info Simple integer for interrupt number is not expressive enough, as it does not convey interrupt trigger type that should be used. Let's allow attaching array of resources to the board info and have i2c core parse first IRQ resource and set up interrupt trigger as needed. Reviewed-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>