[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNASfOa7GmhUMBP765aDjyMLkBzHnk0Qo9QmRiU0R1Xv1Bg@mail.gmail.com>
Date: Thu, 14 Apr 2016 13:26:24 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Adrian Hunter <adrian.hunter@...el.com>
Cc: linux-mmc@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Ulf Hansson <ulf.hansson@...aro.org>
Subject: Re: [PATCH] mmc: sdhci: use IS_REACHABLE(CONFIG_LEDS_CLASS) to enable
LED code
Hi.
2016-04-13 17:59 GMT+09:00 Adrian Hunter <adrian.hunter@...el.com>:
> On 13/04/16 11:55, Masahiro Yamada wrote:
>> defined(CONFIG_LEDS_CLASS) || (defined(CONFIG_LEDS_CLASS_MODULE) && \
>> defined(CONFIG_MMC_SDHCI_MODULE))
>>
>> is equivalent to:
>>
>> defined(CONFIG_LEDS_CLASS) || (defined(CONFIG_LEDS_CLASS_MODULE) && \
>> defined(MODULE))
>>
>> and it can also be written shortly as:
>>
>> IS_REACHABLE(CONFIG_LEDS_CLASS)
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
>
> I recently sent a change to the LEDS code:
>
> http://marc.info/?l=linux-mmc&m=146046055330711
>
> So, if that is accepted, this will need to be changed - there will be only
> one place CONFIG_LEDS_CLASS is used then.
>
Your patch was applied, so I've sent v2 of this patch
based on the next branch.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists