i2c: davinci: switch to use platform_get_irq
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 1 Dec 2014 15:34:03 +0000 (17:34 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 4 Dec 2014 18:15:08 +0000 (19:15 +0100)
commit2c6ef04ffaf7eaad1e2d1d196591fe361f9c9872
tree5b1a1a24225d62a347d8abfe087510baa15dff64
parent5f835cef770fc71263ace29198a9e6743033a705
i2c: davinci: switch to use platform_get_irq

Switch Davinci I2C driver to use platform_get_irq(), because
it is not recommened to use platform_get_resource(pdev, IORESOURCE_IRQ, ..)
for requesting IRQ resources any more, as they can be not ready yet
in case of DT-boot.

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-davinci.c