diff options
author | Andy Shevchenko <[email protected]> | 2023-10-24 15:41:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-10-27 13:04:11 +0200 |
commit | ddab72ea7e5be7d1ae0433fa3d399e05837008d1 (patch) | |
tree | c1b9f4198669e6191512d4cf70c581a2f92995f4 /drivers/tty/serial/esp32_acm.c | |
parent | aef0f5a1841e76fe13621edc7123076b38d458b0 (diff) |
serdev: Simplify devm_serdev_device_open() function
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: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/esp32_acm.c')
0 files changed, 0 insertions, 0 deletions