i2c: sh_mobile: optimize irq entry
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 4 Dec 2014 16:20:49 +0000 (17:20 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 4 Dec 2014 17:49:54 +0000 (18:49 +0100)
commit530834b13feff543a49b214eb750e97fbd7a22be
tree3a04e119e82f1b465754491d586631679a29702f
parent86261fdd65ce076c0aa05dbf3f5f5fe10aab1bcf
i2c: sh_mobile: optimize irq entry

We can simply pass the pointer to the private structure to the irq
routine instead of passing the platform device and looking up its
driver_data.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c