aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2018-09-21 06:40:08 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-28 15:14:54 +0200
commitc1de7f43bd84271e438a4f2dadc4ba9a353baaea (patch)
treef08b22fddaa52f2d55f6b2cb34bacc936e8838a9 /scripts/stackusage
parentnvmem: check the return value of nvmem_add_cells() (diff)
downloadlinux-c1de7f43bd84271e438a4f2dadc4ba9a353baaea.tar.gz
linux-c1de7f43bd84271e438a4f2dadc4ba9a353baaea.zip
nvmem: use kref
Use kref for reference counting. Use an approach similar to the one seen in the common clock subsystem: don't actually destroy the nvmem device until the last user puts it. This way we can get rid of the users check from nvmem_unregister(). Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions