]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: omap-aes - remove the sysfs group during driver removal
authorTero Kristo <t-kristo@ti.com>
Tue, 5 Nov 2019 14:00:52 +0000 (16:00 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Dec 2019 08:36:57 +0000 (16:36 +0800)
commit3a3ea72d952febd0fe5c85ef2159c2edb9cf9354
tree789c34cb85a738fc6627fde2d74ccc49a3c74e27
parentb54e034acd29f0ab1d16bc71e59ae7a2186cfcb8
crypto: omap-aes - remove the sysfs group during driver removal

The driver removal should also cleanup the created sysfs group. If not,
the driver fails the subsequent probe as the files exist already. Also,
drop a completely unnecessary pointer assignment from the removal
function at the same time.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-aes.c