summaryrefslogtreecommitdiff
path: root/drivers/char/mwave
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2022-10-01 08:51:41 +0300
committerJarkko Sakkinen <jarkko@kernel.org>2022-12-08 19:20:46 +0300
commit3f8019093775cc338c8e895bc9a41f4922766de6 (patch)
tree0244c84e45fe0ae7d7a222a92f39fe0272223ea1 /drivers/char/mwave
parent04593028d7c1156df9aa69841980529d7f20f9fe (diff)
downloadlinux-3f8019093775cc338c8e895bc9a41f4922766de6.tar.xz
tpm: st33zp24: switch to using gpiod API
Switch the driver from legacy gpio API (that uses flat GPIO numbering) to the newer gpiod API (which used descriptors and respects line polarities specified in ACPI or device tree). Because gpio handling code for SPI and I2C variants duplicates each other it is moved into the core code for the driver. Also, it seems that the driver never assigned tpm_dev->io_lpcpd in the past, so gpio-based power management was most likely not working ever. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/char/mwave')
0 files changed, 0 insertions, 0 deletions