diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-10-15 10:14:36 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-10-20 17:28:20 +0100 |
commit | 2bb9e6a3d4e86453cba0631ab603bf54bb28f6da (patch) | |
tree | ddf4d352276c11d20e24ebe561dbf8409caffa92 /drivers/power/supply/axp20x_battery.c | |
parent | f783484381ad088490a497abb4faab47511774c5 (diff) | |
download | linux-2bb9e6a3d4e86453cba0631ab603bf54bb28f6da.tar.bz2 |
mfd: ti_am335x_tscadc: Mimic the probe from resume()
Use the number of touchscreen wires (tsc_wires) instead of the flag
indicating a touchscreen cell (tsc_cell) to mimic the logic from the
probe.
Besides keeping a certain harmony in the driver, the main benefit is
that we are going to simplify the number of entries in the main MFD
structure and tsc_cell can now be removed more easily.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211015081506.933180-19-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/power/supply/axp20x_battery.c')
0 files changed, 0 insertions, 0 deletions