Lars-Peter Clausen ab00709310 hwmon: (ltc2992) Set can_sleep flag for GPIO chip
The ltc2992 drivers uses a mutex and I2C bus access in its GPIO chip `set`
and `get` implementation. This means these functions can sleep and the GPIO
chip should set the `can_sleep` property to true.

This will ensure that a warning is printed when trying to set or get the
GPIO value from a context that potentially can't sleep.

Fixes: 9ca26df1ba25 ("hwmon: (ltc2992) Add support for GPIOs.")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20230314093146.2443845-2-lars@metafoo.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2023-03-15 19:15:00 -07:00
..
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2020-09-23 09:42:39 -07:00
2022-08-16 12:46:26 +02:00
2023-02-03 07:30:11 -08:00
2023-02-23 15:03:05 -08:00
2022-02-27 17:03:19 -08:00
2019-11-06 14:37:19 -08:00
2020-09-23 09:42:39 -07:00
2023-02-22 11:31:09 -08:00
2022-12-04 16:45:02 -08:00
2021-04-20 06:50:14 -07:00
2022-09-19 06:17:05 -07:00
2022-05-22 11:32:31 -07:00
2022-12-04 16:45:02 -08:00
2022-12-04 16:45:02 -08:00
2022-12-04 16:45:02 -08:00
2022-08-16 12:46:26 +02:00
2020-09-23 09:42:39 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2020-09-23 09:42:39 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00