diff options
| author | Alexandru Ardelean <aardelean@deviqon.com> | 2021-07-05 10:14:56 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-07-17 18:44:18 +0100 |
| commit | bb761e722f6dff05b94bdfff8a7209a442f220ff (patch) | |
| tree | 66bdf78dc9d6d71ca7f8eb469ea0f61f096d5a44 /tools/perf/scripts | |
| parent | 2427a7e95ca9c72807f5cf57afee093eeccb79d3 (diff) | |
| download | linux-bb761e722f6dff05b94bdfff8a7209a442f220ff.tar.gz linux-bb761e722f6dff05b94bdfff8a7209a442f220ff.zip | |
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 <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210705071456.649659-2-aardelean@deviqon.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
