iio: adc: palmas: replace "wakeup" with "event"
authorPatrik Dahlström <risca@dalakolonin.se>
Sat, 8 Apr 2023 11:48:20 +0000 (13:48 +0200)
committerJonathan Cameron <jonathan.cameron@huawei.com>
Thu, 13 Apr 2023 10:37:21 +0000 (11:37 +0100)
commitd2ab4eea732dd2e235ba2a488344612a07a20334
tree9604a955fd4a4bf548304f7f29f8dbb4ccc14392
parent79d9622d622d49d6c14c51edec2059b8591e7975
iio: adc: palmas: replace "wakeup" with "event"

The palmas gpadc block has support for monitoring up to 2 ADC channels
and issue an interrupt if they reach past a set threshold. This is
currently used to wake up the system from sleep, but the functionality
is more generic than that. As such, change the naming of functions and
variables to refer to it as events instead, except during suspend and
resume where wakeup still make sense.

Signed-off-by: Patrik Dahlström <risca@dalakolonin.se>
Link: https://lore.kernel.org/r/20230408114825.824505-5-risca@dalakolonin.se
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/palmas_gpadc.c