aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2023-11-17 14:12:55 -0600
committerMark Brown <[email protected]>2023-11-20 13:29:06 +0000
commite12cd96e8e93044646fdf4b2c9a1de62cfa01e7c (patch)
treeca52682af48043239c098deab045cc767dd901f8 /tools/perf/scripts/python/export-to-postgresql.py
parent9e4ce5220eedea2cc440f3961dec1b5122e815b2 (diff)
spi: axi-spi-engine: use devm_spi_alloc_host()
This modifies the AXI SPI Engine driver to use devm_spi_alloc_host() instead of spi_alloc_host() to simplify the code a bit. In addition to simplifying the error paths in the probe function, we can also remove spi_controller_get/put() calls in the remove function since devm_spi_alloc_host() sets a flag to no longer decrement the controller reference count in the spi_unregister_controller() function. Signed-off-by: David Lechner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions