aboutsummaryrefslogtreecommitdiff
path: root/drivers/hid/hid-microsoft.c
diff options
context:
space:
mode:
authorDmitry Torokhov2015-03-09 10:36:38 -0700
committerHerbert Xu2015-03-12 01:11:06 +1100
commit257bedd4f39d53ca41c5c8e3f8e0d805607ae661 (patch)
tree3e9d58150920c66109aa2ce908507acb1bc05a3b /drivers/hid/hid-microsoft.c
parent87094a044ee894870d8784f51618a9b0d1fadc44 (diff)
hwrng: pseries - remove incorrect __init/__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. Similarly probe() methods should not be marked __init unless platform_driver_probe() is used. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/hid/hid-microsoft.c')
0 files changed, 0 insertions, 0 deletions