diff options
| author | 2021-04-08 08:55:07 +0800 | |
|---|---|---|
| committer | 2021-04-09 13:43:58 +0100 | |
| commit | 59ebbe40fb51e307032ae7f63b2749fad2d4635a (patch) | |
| tree | 5846863694e8d80cc5592056530a5f68fc1ebca3 /samples/git:/ssh: | |
| parent | spi: dln2: Fix reference leak to master (diff) | |
| download | linux-dev-59ebbe40fb51e307032ae7f63b2749fad2d4635a.tar.xz linux-dev-59ebbe40fb51e307032ae7f63b2749fad2d4635a.zip | |
spi: simplify devm_spi_register_controller
Use devm_add_action_or_reset() instead of devres_alloc() and
devres_add(), which works the same. This will simplify the
code. There is no functional changes.
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/1617843307-53853-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'samples/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
