diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2020-05-09 22:05:36 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-05-10 00:39:36 +0300 |
commit | f4ee52f3ad8c9210030a9fe48bbb74dbc7c9f90e (patch) | |
tree | 2cf8f2c6df0cdb0a9fca8717b6b371cf74ec3fe8 /tools | |
parent | 255cdaf73412de13608fb776101402dca68bed2b (diff) | |
download | linux-f4ee52f3ad8c9210030a9fe48bbb74dbc7c9f90e.tar.xz |
Input: edt-ft5x06 - move parameter restore into helper
We need to restore the parameters if we switch between the
factory/work mode and during the resume process if we switched off the
power-supply. Therefore refactor edt_ft5x06_work_mode() and move the
"restore the parameters" into a helper routine so we can reuse it later.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Link: https://lore.kernel.org/r/20200227112819.16754-3-m.felsch@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions