i2c: davinci: switch to using gpiod for bus recovery gpios
authorPhil Reid <preid@electromag.com.au>
Thu, 2 Nov 2017 02:40:29 +0000 (10:40 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 27 Nov 2017 17:39:51 +0000 (18:39 +0100)
commitcd2428c368a66c4d61cd416a4f0ad453ce6d57cd
tree9b77df305bbc968eadca5b45e41d19fd63134ff3
parentad36a27959cabb27dfde35ff103d03b22f6ddb36
i2c: davinci: switch to using gpiod for bus recovery gpios

Change the driver to use the gpio descriptors for the bus recovery
information instead of the deprecated integer interface.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Phil Reid <preid@electromag.com.au>
Reviewed-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-davinci.c