Tag: 1e9663c62b32f695af37fec4afc473b59f5ca9b4

iio:trigger: Introduce iio_tigger_{set,get}_drvdata

Author: Lars-Peter Clausen <lars@metafoo.de> Introduce iio_tigger_{set,get}_drvdata which allows to attach driver specific data to a trigger. The functions wrap access to the triggers private_data field and all current users are updated to use iio_tigger_{set,get}_drvdata instead of directly accessing the private_data field. This is the first step towards removing the private_data field from the iio_trigger struct. …

Continue reading