diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2021-04-13 08:53:03 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-13 09:53:41 +0200 |
commit | 07ff20cf172f31f0dfbc456662f20339767c69fd (patch) | |
tree | 321f8e8818c3974e18e673a3635b2c155f0201aa /drivers/rtc/rtc-rx8581.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 <tiantao6@hisilicon.com>
Link: https://lore.kernel.org/r/1618275183-56792-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-rx8581.c')
0 files changed, 0 insertions, 0 deletions