diff options
author | 2022-07-06 13:06:23 +0300 | |
---|---|---|
committer | 2022-07-06 15:20:47 +0100 | |
commit | 2e063bb1d4272e7b64ef813566691ea8ea192f9c (patch) | |
tree | 8a6151d3ffb16243ef1268b014a741db6802a6ec /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | spi: amd: Limit max transfer and message size (diff) | |
download | linux-dev-2e063bb1d4272e7b64ef813566691ea8ea192f9c.tar.xz linux-dev-2e063bb1d4272e7b64ef813566691ea8ea192f9c.zip |
spi: amd: Make use of devm_spi_alloc_master()
Make use of the devm variant of spi_alloc_master() in order to cleanup
and simplify the error handling in the probe function by getting rid
of the goto statements.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20220706100626.1234731-3-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions