crypto: hisilicon - Update debugfs usage of SEC V2

[ Upstream commit ca0d158dc9 ]

Applied some advices of Marco Elver on atomic usage of Debugfs,
which is carried out by basing on Arnd Bergmann's fixing patch.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Marco Elver <elver@google.com>
Signed-off-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Zaibo Xu 2020-01-11 10:41:48 +08:00 • committed by Greg Kroah-Hartman
commit 087e595521
3 changed files with 14 additions and 14 deletions