]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
hwrng: octeon - remove incorrect __exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Mar 2015 17:36:37 +0000 (10:36 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Mar 2015 14:11:06 +0000 (01:11 +1100)
commit87094a044ee894870d8784f51618a9b0d1fadc44
tree8caf86af1fb76be6e19a0b809e5d0a25b0dc1d2b
parent1ee9b5e4712948973f0065d944b1afeb50b4dccd
hwrng: octeon - remove incorrect __exit markups

Even if bus is not hot-pluggable, the devices can be unbound from the
driver via sysfs, so we should not be using __exit annotations on
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/char/hw_random/octeon-rng.c