Julien Stephan ad531aa484 iio: light: apds9300: use bool for event state
Since the write_event_config callback now uses a bool for the state
parameter, update apds9300_set_intr_state accordingly and change intr_en
to bool.

Also update apds9300_set_power_state and power_state for consistency.

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Link: https://patch.msgid.link/20241031-iio-fix-write-event-config-signature-v2-12-2bcacbb517a2@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-11-03 20:33:44 +00:00
..
2024-10-11 11:32:10 -07:00
2024-10-11 11:26:15 -07:00
2024-10-18 15:53:00 -07:00
2024-09-27 08:48:37 -07:00
2024-10-07 11:33:26 -07:00
2024-09-17 15:27:01 +02:00
2024-09-18 10:49:45 +02:00
2024-09-19 10:18:15 +02:00
2024-10-18 13:53:41 +10:00
2024-10-13 16:35:20 -07:00
2024-09-19 10:18:15 +02:00
2024-10-05 10:31:04 -07:00
2024-10-19 10:18:03 -07:00
2024-09-29 09:22:34 -07:00
2024-10-21 08:42:22 +02:00
2024-10-11 11:23:21 -07:00
2024-09-26 08:43:17 -07:00
2024-10-18 15:53:00 -07:00
2024-09-23 14:05:10 -07:00
2024-10-06 11:11:01 -07:00
2024-10-12 13:38:09 +01:00
2024-10-19 12:52:19 -07:00
2024-10-11 10:03:13 +00:00
2024-09-23 14:00:46 -07:00
2024-10-05 10:25:04 -07:00
2024-10-12 11:43:29 +01:00
2024-10-19 12:52:19 -07:00
2024-09-09 12:22:06 +02:00
2024-10-19 12:52:19 -07:00
2024-10-18 12:11:28 +02:00
2024-10-07 11:33:26 -07:00
2024-10-07 11:33:26 -07:00
2024-10-07 11:33:26 -07:00