[PATCH v1] backlight: gpio_backlight: Enable ACPI enumeration

Andy Shevchenko andriy.shevchenko at linux.intel.com
Thu Jun 20 15:12:56 UTC 2019


On Thu, Jun 20, 2019 at 03:12:05PM +0100, Daniel Thompson wrote:
> On 19/06/2019 16:21, Andy Shevchenko wrote:
> > ACPI allows to enumerate specific devices by using compatible strings.
> > Enable that enumeration for GPIO based backlight devices.

> > +		dev_err(&pdev->dev,
> > +			"failed to find platform data or device tree node.\n");
> 
> Should the string also be updated?

I don't think it's necessary. The device tree compatible mode is for DT
drivers, so, it is assumed that person knows much enough and this message would
be useful as is.

> If what is updated to acknoledge option to use ACPI then:
> Acked-by: Daniel Thompson <daniel.thompson at linaro.org>

Thanks!

-- 
With Best Regards,
Andy Shevchenko




More information about the dri-devel mailing list