Re: [PATCH] iio: ak8975: Convert to use GPIO descriptor

Jonathan Cameron
2019-12-06T17:43:07Z

On Mon, 2 Dec 2019 14:57:56 +0200
Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:

> On Mon, Dec 02, 2019 at 02:51:48PM +0200, Andy Shevchenko wrote:
> > On Mon, Dec 02, 2019 at 09:17:30AM +0100, Linus Walleij wrote:
> > > The end-of-conversion (EOC) GPIO line is better to grab using
> > > a GPIO descriptor. We drop the pdata for this: clients using board
> > > files can use machine descriptor tables to pass this GPIO from
> > > static data.
>
> > > dev_err(&client->dev,
> > > - "irq %d request failed, (gpio %d): %d\n",
> > > - irq, data->eoc_gpio, rc);
> > > + "irq %d request failed: %d\n",
> > > + irq, rc);
> >
> > Now it fits one line.
>
> I meant including dev_err().
>

Tidied up whilst applying. Applied to the togreg branch of iio.git.
Pushed out as testing for the autobuilders to play with it.

Thanks,

Jonathan