From: Dmitry Torokhov Date: Tue, 26 Feb 2013 06:17:27 +0000 (-0300) Subject: [media] Media: remove incorrect __init/__exit markups X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~519 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf30690029a3b8572a6fc2facb77fbde86992988;p=pandora-kernel.git [media] Media: 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 Acked-by: Guennadi Liakhovetski Acked-by: Sakari Ailus Acked-by: Timo Kokkonen Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed