diff options
| author | 2012-02-15 19:48:00 +0000 | |
|---|---|---|
| committer | 2012-02-24 12:10:02 -0800 | |
| commit | ac917a81117ce0286847666b55dd265f6cda8383 (patch) | |
| tree | ea5052ebeb55cc59fc0f3fa28df1560ddfa487f3 /scripts/Makefile.thinlto | |
| parent | staging: tidspbridge: detect wdt3 feature at runtime (diff) | |
staging:iio:core set the iio_dev.info pointer to null on unregister under lock.
This prevents use of provider callbacks after it has been unregistered.
Note that all code using this that can be called from a consumer *must*
check the pointer before using and hold the info_exist_lock throughout
the usage of the callbacks in info.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
