Marco Trevisan (Treviño)
3ed73aa17c
fpi-device: Make possible to set a DestroyNotify for timeout data
...
Since GSource data can be automatically cleaned up on source destruction, we
can mimic this for the devices timeout easily as well.
Add an extra parameter, and let's use this cocci file to adapt all the
drivers like magic:
@@
expression e1, e2, e3, e4;
@@
fpi_device_add_timeout (e1, e2, e3, e4
+ , NULL
)
2019-12-03 17:31:22 +01:00
..
2019-12-03 17:31:22 +01:00
2019-11-20 20:38:06 +01:00
2019-11-20 11:03:09 +01:00
2018-05-24 12:23:39 +02:00
2019-11-20 20:38:06 +01:00
2019-11-27 21:40:44 +01:00
2019-11-20 11:03:09 +01:00
2019-12-03 17:31:22 +01:00
2019-11-27 21:40:44 +01:00
2019-11-27 21:40:44 +01:00
2019-11-20 11:03:09 +01:00
2019-11-20 11:03:09 +01:00
2019-11-20 11:03:09 +01:00
2019-11-28 21:30:17 +01:00
2019-11-20 11:03:09 +01:00
2019-11-28 20:41:45 +00:00
2019-11-20 13:53:45 +01:00
2019-11-20 13:53:45 +01:00
2019-11-20 13:53:45 +01:00
2019-11-20 13:53:45 +01:00
2019-11-20 13:53:45 +01:00
2019-11-20 13:53:45 +01:00
2019-11-20 11:03:09 +01:00
2019-12-03 17:31:22 +01:00
2019-11-20 11:03:09 +01:00
2019-11-20 11:03:09 +01:00
2019-11-25 18:59:46 +01:00
2019-12-02 17:04:05 +01:00
2019-12-03 17:31:22 +01:00
2019-11-27 21:02:20 +01:00
2019-11-27 21:02:19 +01:00
2019-11-20 11:03:09 +01:00
2019-11-20 20:38:06 +01:00
2019-11-22 17:07:56 +01:00
2019-11-20 20:38:06 +01:00
2019-11-20 11:03:09 +01:00
2019-11-25 18:59:46 +01:00
2018-12-13 15:48:25 +01:00