Skip to main content

register_odpm_device

Function register_odpm_device 

Source
pub fn register_odpm_device(kernel: &Kernel, odpm_device: Arc<OdpmDevice>)
Expand description

Registers the ODPM device within sysfs at /sys/devices/platform/cpm/cpm:ODPM/iio:device0 and creates the symlink at /sys/bus/iio/devices/iio:device0.