commit | 7694f44d63c61883fefba6e8ad12075f17d3ebd3 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Feb 10 17:47:04 2015 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sun Feb 15 16:06:04 2015 -0800 |
tree | 80a38c05a787047337557a85b3a6e7aad602062a | |
parent | bfa76d49576599a4b9f9b7a71f23d73d6dcff735 [diff] |
Input: bfin_rotary - fix potential oops in interrupt handler The interrupt handler in the driver tries to fetch driver data from platform device, unfortunately it is only set up after interrupt handler is registered. Since interrupt handler does not really need to access the platform device itself let's change it to get the driver data instance instead. Acked-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>