Re: [PATCH v4 2/3] treewide: Remove dev_err() usage after platform_get_irq()

From: Mark Brown
Date: Wed Jul 24 2019 - 13:08:18 EST


On Tue, Jul 23, 2019 at 03:24:53PM -0700, Stephen Boyd wrote:
> Quoting Rob Herring (2019-07-23 12:30:48)

> > There's also some cases that the irq seems to be optional. They use
> > dev_info, but will now have an error level print. That's fine with me,
> > but some may complain...

> Yeah I wonder if there should be a platform_get_irq_optional() API that
> more explicitly indicates this and then doesn't print a warning when the
> irq isn't there.

I think that'd be a good solution.

Attachment: signature.asc
Description: PGP signature