Re: [PATCH v13 5/5] leds: flash: mt6370: Add MediaTek MT6370 flashlight support

From: ChiaEn Wu
Date: Thu Oct 06 2022 - 21:29:09 EST


On Wed, Oct 5, 2022 at 8:15 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

...

> > +config LEDS_MT6370_FLASH
> > + tristate "Flash LED Support for MediaTek MT6370 PMIC"
>
> > + depends on LEDS_CLASS && OF
>
> Why do you have OF dependency?
>

Hi Andy,
The original idea is to use the "fwnode_property_*" related function.
But this side may only consider just "Build Pass" (?)
I will remove "OF" in the v14 patch.
Thanks for your review.

--
Best Regards,
ChiaEn Wu