diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-02-15 11:42:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-19 14:50:11 +0100 |
commit | f4853e1c321edb48af229ad5ac85076790d34968 (patch) | |
tree | b1b2f577d3e6e517c86dd15940cec0fe1f6d9d19 /README | |
parent | eadf249906495d94a8908c7840319d1ffcef8057 (diff) | |
download | blackbird-op-linux-f4853e1c321edb48af229ad5ac85076790d34968.tar.gz blackbird-op-linux-f4853e1c321edb48af229ad5ac85076790d34968.zip |
nvmem: core: don't check the return value of notifier chain call
blocking_notifier_call_chain() returns the value returned by the last
registered callback. A positive return value doesn't indicate an error
and an nvmem device should correctly register irrespective of any
notifier callback failures. Drop the retval check.
Fixes: bee1138bea15 ("nvmem: add a notifier chain")
Cc: stable@vger.kernel.org
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions