diff options
| author | Alexandru Ardelean <[email protected]> | 2021-07-05 10:14:56 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-07-17 18:44:18 +0100 |
| commit | bb761e722f6dff05b94bdfff8a7209a442f220ff (patch) | |
| tree | 66bdf78dc9d6d71ca7f8eb469ea0f61f096d5a44 /include/linux/debugobjects.h | |
| parent | 2427a7e95ca9c72807f5cf57afee093eeccb79d3 (diff) | |
iio: light: adjd_s311: convert probe to device-managed functions
Now that the driver's buffer is stored on the adjd_s311_data private
object, the driver is a simple conversion to use only device-managed
functions in the probe.
The iio_triggered_buffer_setup() and iio_device_register() functions are
the only ones needing conversion.
And i2c_set_clientdata() is no longer required.
Signed-off-by: Alexandru Ardelean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions