Message ID | 1352259434-21196-1-git-send-email-ricardo.neri@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 --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");
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(-)