commit | 79fbf0468b2a05a743d31794423925d229c0e9c2 | [log] [tgz] |
---|---|---|
author | Andrey Smirnov <andrew.smirnov@gmail.com> | Fri Jun 09 10:59:08 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 09 12:08:27 2017 +0200 |
tree | 86b540cf1181e95a0ccca2dae327e23592a0656d | |
parent | 3360acdf839170b612f5b212539694c20e3f16d0 [diff] |
nvmem: core: Call put_device() in nvmem_unregister() Call put_device() in nvmem_unregister() to make sure nvmem_release gets called freeing up allocated resources. Cc: cphealy@gmail.com Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>