driver: Replace set/get functions with cansleep equivalents
When the touchgpio driver is used in a threaded interrupt context, the get/set functions throw warnings. Replace them with their cansleep variants to prevent the warnings from popping up.
Hi all, Gitlab will be set in maintenance mode on Friday 29/11/2024 from 08:45 AM CET with the intention of finishing by the 10:45 PM CET of Friday 29/11/2024
When the touchgpio driver is used in a threaded interrupt context, the get/set functions throw warnings. Replace them with their cansleep variants to prevent the warnings from popping up.