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)
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>

No differences found