diff options
| author | David Lechner <[email protected]> | 2024-07-12 11:03:55 -0500 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-08-03 10:13:38 +0100 |
| commit | f2e3fbc4443959c966a60519eef04178715dec74 (patch) | |
| tree | 7d1f863640412571a407c345bfac0a11fa0818e5 /tools/perf/scripts/python | |
| parent | ba2b35841ce9b0cdba125c7f16fb15416258040b (diff) | |
iio: dac: mcp4922: drop remove() callback
By using devm_iio_device_register(), we can drop the remove() callback
in the mcp4922 driver. We can also remove spi_set_drvdata() since there
are no more callers of spi_get_drvdata(). Also use dev_err_probe()
while we are at it.
Signed-off-by: David Lechner <[email protected]>
Link: https://patch.msgid.link/20240712-iio-regulator-refactor-round-3-v1-4-835017bae43d@baylibre.com
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions