From: Dmitry Torokhov Date: Mon, 9 Mar 2015 17:36:38 +0000 (-0700) Subject: hwrng: pseries - remove incorrect __init/__exit markups X-Git-Tag: omap-for-v4.2/o2_dc~130^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=257bedd4f39d53ca41c5c8e3f8e0d805607ae661;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed