diff mbox

OMAPDSS: HDMI: Remove __exit macro from hdmi_uninit_display

Message ID 1352259434-21196-1-git-send-email-ricardo.neri@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ricardo Neri Nov. 7, 2012, 3:37 a.m. UTC
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>
---
 drivers/video/omap2/dss/hdmi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Tomi Valkeinen Nov. 7, 2012, 7:21 a.m. UTC | #1
On 2012-11-07 05:37, Ricardo Neri wrote:
> 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>
> ---
>  drivers/video/omap2/dss/hdmi.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 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");

Thanks, I'll apply.

 Tomi
diff mbox

Patch

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");