OMAPDSS: HDMI: Remove __exit macro from hdmi_uninit_display
authorRicardo Neri <ricardo.neri@ti.com>
Wed, 7 Nov 2012 03:37:14 +0000 (21:37 -0600)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 7 Nov 2012 07:19:54 +0000 (09:19 +0200)
This function is now used in the driver init path to handle
probe errors properly. Thus, it may be possible to use this function
outside the exit path.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reported-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/hdmi.c

index 0c2f35b..6cf2fe2 100644 (file)
@@ -365,7 +365,7 @@ static int __init hdmi_init_display(struct omap_dss_device *dssdev)
        return 0;
 }
 
-static void __exit hdmi_uninit_display(struct omap_dss_device *dssdev)
+static void hdmi_uninit_display(struct omap_dss_device *dssdev)
 {
        DSSDBG("uninit_display\n");