On Thu, 9 Aug 2012, Mauro Carvalho Chehab wrote:

> Yeah, that would work as well, although the code would look uglier.
> IMHO, using select/depend is better.
> 

Agreed, I think it should be "depends on LEDS_CLASS" rather than select 
it if there is a hard dependency that cannot be fixed with extracting the 
led support in the driver to #ifdef CONFIG_LEDS_CLASS code.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to