Re: [PATCH] power: supply: max8997_charger: make EXTCON dependency unconditional

From: Andy Shevchenko
Date: Mon Mar 08 2021 - 11:11:56 EST


On Mon, Mar 8, 2021 at 6:06 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Mon, Mar 8, 2021 at 5:29 PM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
>
> > - depends on EXTCON || !EXTCON
>
> I stumbled over this.
> What is the point of having this line at all?
> What magic trick does it serve for?

Okay, it seems I can answer my question: it requires extcon to be
built-in when the driver is built-in. I often saw similar written
slightly differently.



--
With Best Regards,
Andy Shevchenko