[PATCH 0/2] crypto: img-hash: clean up probe

Rosen Penev <[email protected]>
Newsgroups org.kernel.vger.linux-crypto,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Move some devm calls early in order to avoid goto and return directly.
Also use non devm request_irq so that free_irq can be called at the right
time.

Rosen Penev (2):
  crypto: img-hash: fetch resources into locals before probe body
  crypto: img-hash: fix IRQ teardown ordering and fetch clocks early

 drivers/crypto/img-hash.c | 75 +++++++++++++++++++++------------------
 1 file changed, 40 insertions(+), 35 deletions(-)

-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.