diff options
author | Tian Tao <[email protected]> | 2021-04-13 08:53:03 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-13 09:53:41 +0200 |
commit | 07ff20cf172f31f0dfbc456662f20339767c69fd (patch) | |
tree | 321f8e8818c3974e18e673a3635b2c155f0201aa /lib/mpi/mpi-cmp.c | |
parent | cc444aa522b18069eba204c9b5e3cf5a69de29a5 (diff) |
staging: fieldbus: simplify devm_anybuss_host_common_probe
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions