diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-10-24 15:41:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-27 13:04:11 +0200 |
commit | ddab72ea7e5be7d1ae0433fa3d399e05837008d1 (patch) | |
tree | c1b9f4198669e6191512d4cf70c581a2f92995f4 /drivers/cdx/controller/cdx_controller.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 <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231024124115.3598090-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions