@@ -11,10 +11,10 @@ Industrial I/O Devices
1111----------------------
1212
1313* struct :c:type: `iio_dev ` - industrial I/O device
14- * :c:func: ` iio_device_alloc() ` - allocate an :c:type: `iio_dev ` from a driver
15- * :c:func: ` iio_device_free() ` - free an :c:type: `iio_dev ` from a driver
16- * :c:func: ` iio_device_register() ` - register a device with the IIO subsystem
17- * :c:func: ` iio_device_unregister() ` - unregister a device from the IIO
14+ * iio_device_alloc() - allocate an :c:type: `iio_dev ` from a driver
15+ * iio_device_free() - free an :c:type: `iio_dev ` from a driver
16+ * iio_device_register() - register a device with the IIO subsystem
17+ * iio_device_unregister() - unregister a device from the IIO
1818 subsystem
1919
2020An IIO device usually corresponds to a single hardware sensor and it
@@ -34,17 +34,17 @@ A typical IIO driver will register itself as an :doc:`I2C <../i2c>` or
3434
3535At probe:
3636
37- 1. Call :c:func: ` iio_device_alloc() ` , which allocates memory for an IIO device.
37+ 1. Call iio_device_alloc(), which allocates memory for an IIO device.
38382. Initialize IIO device fields with driver specific information (e.g.
3939 device name, device channels).
40- 3. Call :c:func: ` iio_device_register() ` , this registers the device with the
40+ 3. Call iio_device_register(), this registers the device with the
4141 IIO core. After this call the device is ready to accept requests from user
4242 space applications.
4343
4444At remove, we free the resources allocated in probe in reverse order:
4545
46- 1. :c:func: ` iio_device_unregister() ` , unregister the device from the IIO core.
47- 2. :c:func: ` iio_device_free() ` , free the memory allocated for the IIO device.
46+ 1. iio_device_unregister(), unregister the device from the IIO core.
47+ 2. iio_device_free(), free the memory allocated for the IIO device.
4848
4949IIO device sysfs interface
5050==========================
0 commit comments