Re: [PATCH RFC] leds: pca9685: Remove leds-pca9685 driver

From: Steffen Trumtrar
Date: Sun Apr 06 2014 - 05:31:24 EST


Hi!

On Sun, Apr 06, 2014 at 11:19:41AM +0800, Axel Lin wrote:
> This driver is replaced by pwm-pca9685 driver and there is no user uses this
> driver in current tree. So remove it.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
> ---
> Hi,
> I found there is a modalias conflict between leds-pca9685.ko and pwm-pca9685.ko.
> I think this conflict will cause problem.
> After checking the code, I think leds-pca9685 is replaced by pwm-pca9685.

This confused me for a second, as there was no driver to replace when I wrote
the pwm-pca9685 driver and I thought I missed something. But it seems I didn't
and the pwm-pca9685 is actually older.

> Use git grep to check current tree and found there is no user uses leds-pca9685.
> So this patch removes leds-pca9685 driver.
>

If the platform setup is needed, maybe this can be integrated into the pwm driver
instead of completely dropping it. I don't care for platform code, but if someone
does, I don't want him to lose the support for it.

Otherwise I am okay with this drop (okay, I'm completely biased of course ;-)).
But technically the pca9685 is not solely a LED driver IC, but a PWM IC, so it
is in the wrong place anyhow.

Regards,
Steffen

--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/