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

Andy Shevchenko
2019-12-02T12:57:59Z

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

--
With Best Regards,
Andy Shevchenko