diff options
author | 2024-09-25 13:35:00 +0200 | |
---|---|---|
committer | 2024-09-30 01:12:23 +0200 | |
commit | 494c3dc467768782f93f1433650c56b08feb54ea (patch) | |
tree | a81c666769391249eb47ddc34fd2cb6e891c0352 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | spi: slave-mt27xx: Call clk_disable_unprepare() only once in mtk_spi_slave_probe() (diff) | |
download | wireguard-linux-494c3dc467768782f93f1433650c56b08feb54ea.tar.xz wireguard-linux-494c3dc467768782f93f1433650c56b08feb54ea.zip |
spi: Switch back to struct platform_driver::remove()
After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.
Convert all platform drivers below drivers/spi to use .remove(), with
the eventual goal to drop struct platform_driver::remove_new(). As
.remove() and .remove_new() have the same prototypes, conversion is done
by just changing the structure member name in the driver initializer.
The change for the spi-npcm-fiu stands out in the diffstat because the
inconsistent formatting style of the platform_driver initializer is
fixed to match the other struct initializer in the file.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20240925113501.25208-2-u.kleine-koenig@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions