Re: [PATCH] crypto: amcc: remove incorrect __init/__exit markups

From: Herbert Xu
Date: Wed Mar 11 2015 - 10:13:31 EST

On Mon, Mar 09, 2015 at 01:35:39PM -0700, Dmitry Torokhov wrote:
> 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@xxxxxxxxx>

Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at