Re: [PATCHv3 4/5] Input: tsc2005: add DT support

From: Pavel Machek
Date: Tue Apr 29 2014 - 05:24:25 EST


On Sat 2014-04-26 01:56:18, Sebastian Reichel wrote:
> This adds DT support to the tsc2005 touchscreen
> driver.
>
> Signed-off-by: Sebastian Reichel <sre@xxxxxxxxxx>

> @@ -100,6 +102,11 @@
> TSC2005_CFR2_AVG_7)
>
> #define MAX_12BIT 0xfff
> +#define TSC2005_DEF_X_FUZZ 4
> +#define TSC2005_DEF_Y_FUZZ 8
> +#define TSC2005_DEF_P_FUZZ 2
> +#define TSC2005_DEF_RESISTOR 280
>

IMO using defines insteaed of plain numbers does not help readability much,
but ....

Reviewed-by: Pavel Machek <pavel@xxxxxx>


--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/