Input: atmel_mxt_ts - improve device tree parsing
authorNick Dyer <nick.dyer@itdev.co.uk>
Tue, 4 Aug 2015 23:53:16 +0000 (16:53 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 5 Aug 2015 00:03:53 +0000 (17:03 -0700)
commit204476642db2ca3cd2e9b8380b58dc9f21a1e773
treee507ef3dd210d58bd00005385af8ed3fb99328c5
parent50fabb02c7c08dace3562c05797a3c92591a9803
Input: atmel_mxt_ts - improve device tree parsing

Use function rather than loop, define np to reduce wrapping.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c