diff mbox

[v5,18/18] thermal: exynos: Remove not needed exynos_tmu_init_data declarations from exynos_tmu.h

Message ID 1421666462-7606-19-git-send-email-l.majewski@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lukasz Majewski Jan. 19, 2015, 11:21 a.m. UTC
After switching to device tree based configuration those declarations are
not needed anymore.

Reported-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
---
Changes for v5:
- New patch
---
 drivers/thermal/samsung/exynos_tmu.h | 8 --------
 1 file changed, 8 deletions(-)

Comments

Eduardo Valentin Jan. 21, 2015, 3:30 a.m. UTC | #1
On Mon, Jan 19, 2015 at 12:21:02PM +0100, Lukasz Majewski wrote:
> After switching to device tree based configuration those declarations are
> not needed anymore.
> 
> Reported-by: Abhilash Kesavan <a.kesavan@samsung.com>
> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
> ---
> Changes for v5:
> - New patch
> ---
>  drivers/thermal/samsung/exynos_tmu.h | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/drivers/thermal/samsung/exynos_tmu.h b/drivers/thermal/samsung/exynos_tmu.h
> index d876d4c..9f9b1b8 100644
> --- a/drivers/thermal/samsung/exynos_tmu.h
> +++ b/drivers/thermal/samsung/exynos_tmu.h
> @@ -71,12 +71,4 @@ struct exynos_tmu_platform_data {
>  	u32 cal_mode;
>  };
>  
> -extern struct exynos_tmu_init_data const exynos3250_default_tmu_data;
> -extern struct exynos_tmu_init_data const exynos4210_default_tmu_data;
> -extern struct exynos_tmu_init_data const exynos4412_default_tmu_data;
> -extern struct exynos_tmu_init_data const exynos5250_default_tmu_data;
> -extern struct exynos_tmu_init_data const exynos5260_default_tmu_data;
> -extern struct exynos_tmu_init_data const exynos5420_default_tmu_data;
> -extern struct exynos_tmu_init_data const exynos5440_default_tmu_data;

Please merge this patch to the one that removes these symbols from
kernel.

> -
>  #endif /* _EXYNOS_TMU_H */
> -- 
> 2.0.0.rc2
>
Lukasz Majewski Jan. 21, 2015, 9 a.m. UTC | #2
Hi Eduardo,

> On Mon, Jan 19, 2015 at 12:21:02PM +0100, Lukasz Majewski wrote:
> > After switching to device tree based configuration those
> > declarations are not needed anymore.
> > 
> > Reported-by: Abhilash Kesavan <a.kesavan@samsung.com>
> > Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
> > ---
> > Changes for v5:
> > - New patch
> > ---
> >   | 8 --------
> >  1 file changed, 8 deletions(-)
> > 
> > diff --git a/drivers/thermal/samsung/exynos_tmu.h
> > b/drivers/thermal/samsung/exynos_tmu.h index d876d4c..9f9b1b8 100644
> > --- a/drivers/thermal/samsung/exynos_tmu.h
> > +++ b/drivers/thermal/samsung/exynos_tmu.h
> > @@ -71,12 +71,4 @@ struct exynos_tmu_platform_data {
> >  	u32 cal_mode;
> >  };
> >  
> > -extern struct exynos_tmu_init_data const
> > exynos3250_default_tmu_data; -extern struct exynos_tmu_init_data
> > const exynos4210_default_tmu_data; -extern struct
> > exynos_tmu_init_data const exynos4412_default_tmu_data; -extern
> > struct exynos_tmu_init_data const exynos5250_default_tmu_data;
> > -extern struct exynos_tmu_init_data const
> > exynos5260_default_tmu_data; -extern struct exynos_tmu_init_data
> > const exynos5420_default_tmu_data; -extern struct
> > exynos_tmu_init_data const exynos5440_default_tmu_data;
> 
> Please merge this patch to the one that removes these symbols from
> kernel.

Will be done for v6 version.

> 
> > -
> >  #endif /* _EXYNOS_TMU_H */
> > -- 
> > 2.0.0.rc2
> >
diff mbox

Patch

diff --git a/drivers/thermal/samsung/exynos_tmu.h b/drivers/thermal/samsung/exynos_tmu.h
index d876d4c..9f9b1b8 100644
--- a/drivers/thermal/samsung/exynos_tmu.h
+++ b/drivers/thermal/samsung/exynos_tmu.h
@@ -71,12 +71,4 @@  struct exynos_tmu_platform_data {
 	u32 cal_mode;
 };
 
-extern struct exynos_tmu_init_data const exynos3250_default_tmu_data;
-extern struct exynos_tmu_init_data const exynos4210_default_tmu_data;
-extern struct exynos_tmu_init_data const exynos4412_default_tmu_data;
-extern struct exynos_tmu_init_data const exynos5250_default_tmu_data;
-extern struct exynos_tmu_init_data const exynos5260_default_tmu_data;
-extern struct exynos_tmu_init_data const exynos5420_default_tmu_data;
-extern struct exynos_tmu_init_data const exynos5440_default_tmu_data;
-
 #endif /* _EXYNOS_TMU_H */