i2c: imx: switch to using gpiod for bus recovery gpios
authorPhil Reid <preid@electromag.com.au>
Thu, 2 Nov 2017 02:40:28 +0000 (10:40 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 27 Nov 2017 17:39:45 +0000 (18:39 +0100)
commitad36a27959cabb27dfde35ff103d03b22f6ddb36
treeca0f69f3c6aa5d07a427d7fd180a5c565f4d3efb
parentca382f5b38f367b656c8fd9a0fb93d8f54843520
i2c: imx: 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>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c