Heiner Kallweit 4e60d5dd10 i2c: i801: Improve disabling runtime pm
Setting the autosuspend delay to a negative value disables runtime pm in
a little bit smarter way, because we need no cleanup when removing the
driver. Note that this is safe when reloading the driver, because the
call to pm_runtime_set_autosuspend_delay() in probe() will reverse the
effect. See update_autosuspend() for details.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2021-08-10 22:36:15 +02:00
..
2020-09-27 15:14:16 +02:00
2021-04-14 10:20:00 +02:00
2021-01-05 17:30:45 +01:00
2021-04-14 10:20:45 +02:00
2021-07-20 22:32:01 +02:00
2021-05-28 09:50:43 +02:00
2021-06-20 22:40:44 +02:00
2021-04-17 22:00:58 +02:00
2021-01-28 10:03:58 +01:00
2021-05-25 21:24:50 +02:00