]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: amcc - remove incorrect __init/__exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Mar 2015 20:35:39 +0000 (13:35 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Mar 2015 14:11:07 +0000 (01:11 +1100)
commitbd61d1b58252e745e5686fda2055ca9892cdc28b
tree418500c17405981910986b80497c0d70ff683b0f
parent964c7734edb74c263bc4c427cf8d60821545fa0f
crypto: amcc - remove incorrect __init/__exit markups

Even if bus is not hot-pluggable, the devices can be bound and unbound
from the driver via sysfs, so we should not be using __init/__exit
annotations on probe() and remove() methods. The only exception is
drivers registered with platform_driver_probe() which specifically
disables sysfs bind/unbind attributes.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_core.c