diff options
| author | 2022-02-20 15:15:16 +0000 | |
|---|---|---|
| committer | 2022-02-21 18:00:29 +0100 | |
| commit | 5825b2c6762611e67ccaf3ccf64485365a120f0b (patch) | |
| tree | eba63c8fa381fb319cbef6974cd8b09c7eb0a2f2 /include/linux/mfd/git:/ssh: | |
| parent | nvmem: core: Remove unused devm_nvmem_unregister() (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>
Diffstat (limited to 'include/linux/mfd/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
