Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

From: Dmitry Torokhov
Date: Tue Oct 27 2015 - 21:51:56 EST


Hi Michael,
On Tue, Oct 27, 2015 at 07:17:01PM -0500, Michael Welling wrote:
> Adds support for the i2c based tsc2004. Support was added to the tsc2005 driver
> due to the similarity of the devices.
>
> Signed-off-by: Michael Welling <mwelling@xxxxxxxx>
> ---
> v2: Fixes Kconfig based on report for 0-day build bot.
>
> .../bindings/input/touchscreen/tsc2004.txt | 38 ++++
> drivers/input/touchscreen/Kconfig | 7 +-
> drivers/input/touchscreen/tsc2005.c | 206 ++++++++++++++++-----

Could we maybe split the code into core, spi and i2c drivers instead of
keeping everything together and rely on #ifdefs?

Thanks!

--
Dmitry
--
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/