]> git.baikalelectronics.ru Git - kernel.git/commit
hwrng: omap - remove incorrect __exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Mar 2015 17:36:35 +0000 (10:36 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Mar 2015 14:11:05 +0000 (01:11 +1100)
commitd4da42c44180d2b2c00c27cb91aa8f3306eaccb6
tree6ebc9296bd824bb5e145cc68994559e078cd83c0
parent71dc8723bbfe82d4b33d0de6f14b6509ffdb8d7a
hwrng: omap - 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/omap-rng.c