Input: of_touchscreen - rework the DT parsing function
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 22 Mar 2015 03:17:48 +0000 (20:17 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Mar 2015 19:00:39 +0000 (12:00 -0700)
commit3eea8b5d68c801fec788b411582b803463834752
treef164f747c44980092ac997122320690f550f53cd
parent5037a17966967bde3f561cc543c9b3596afabf70
Input: of_touchscreen - rework the DT parsing function

The DT parsing function currently duplicates a lot of the code to parse the
touchscreen DT properties. In order to ease further additions to this
parsing routine, rework it slightly to create new helper functions.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/of_touchscreen.c