commit | 5825b2c6762611e67ccaf3ccf64485365a120f0b | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Sun Feb 20 15:15:16 2022 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Feb 21 18:00:29 2022 +0100 |
tree | eba63c8fa381fb319cbef6974cd8b09c7eb0a2f2 | |
parent | 190fae468592bc2f0efc8b928920f8f712b5831e [diff] |
nvmem: core: Use devm_add_action_or_reset() Slightly simplify the devm_nvmem_register() by using the devm_add_action_or_reset(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20220220151527.17216-3-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>