]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit1eb8a1b340e2f0a562b4987683bbaee4d620bf0a
tree418500c17405981910986b80497c0d70ff683b0f
parent83ce01d24a1998cf1be6a7ea37f54edf264abe93
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