From: Ricardo Neri Date: Wed, 7 Nov 2012 03:37:14 +0000 (-0600) Subject: OMAPDSS: HDMI: Remove __exit macro from hdmi_uninit_display X-Git-Tag: v3.8-rc1~96^2^2~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3758476501ce6381435f60c03ae31268097e2e91;p=platform%2Fkernel%2Flinux-3.10.git OMAPDSS: HDMI: Remove __exit macro from hdmi_uninit_display 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 Reported-by: Yuanhan Liu Signed-off-by: Ricardo Neri Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index 0c2f35b..6cf2fe2 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c @@ -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");