From: Dmitry Torokhov Date: Wed, 11 Feb 2015 01:47:04 +0000 (-0800) Subject: Input: bfin_rotary - fix potential oops in interrupt handler X-Git-Tag: fixes-v4.0-rc1~30^2^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7694f44d63c61883fefba6e8ad12075f17d3ebd3;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed