iio: accel: sca3000: use bool for event state
authorJulien Stephan <jstephan@baylibre.com>
Thu, 31 Oct 2024 15:27:04 +0000 (16:27 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 Nov 2024 20:33:44 +0000 (20:33 +0000)
commit4880978294a2a79bfe0fdb23353c4499ebe39211
tree79efef17046ad74140ef774cdc699892251d6a70
parent1d3086459da392ac80889133e9549fa7e041b9f1
iio: accel: sca3000: use bool for event state

Since the write_event_config callback now uses a bool for the state
parameter, update the signatures of the functions it calls accordingly.

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Link: https://patch.msgid.link/20241031-iio-fix-write-event-config-signature-v2-9-2bcacbb517a2@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/sca3000.c