Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH 15/38] move s3c_adc_remove to .devexit.text

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


u.kleine-koenig at pengutronix

Nov 24, 2009, 1:07 PM

Post #1 of 3 (77 views)
Permalink
[PATCH 15/38] move s3c_adc_remove to .devexit.text

The function s3c_adc_remove is used only wrapped by __devexit_p so define
it using __devexit.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig [at] pengutronix>
Acked-by: Sam Ravnborg <sam [at] ravnborg>
Cc: Russell King <linux [at] arm>
Acked-By: Ben Dooks <ben [at] simtec>
Cc: Ramax Lo <ramaxlo [at] gmail>
Cc: Nelson Castillo <arhuaco [at] freaks-unidos>
Cc: linux-kernel [at] vger
Cc: Ben Dooks <ben-linux [at] fluff>
Cc: Alexey Dobriyan <adobriyan [at] gmail>
Cc: Ryan Mallon <ryan [at] bluewatersys>
Cc: linux-arm-kernel [at] lists
---
arch/arm/plat-s3c24xx/adc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/plat-s3c24xx/adc.c b/arch/arm/plat-s3c24xx/adc.c
index df47322..ce47627 100644
--- a/arch/arm/plat-s3c24xx/adc.c
+++ b/arch/arm/plat-s3c24xx/adc.c
@@ -365,7 +365,7 @@ static int s3c_adc_probe(struct platform_device *pdev)
return ret;
}

-static int s3c_adc_remove(struct platform_device *pdev)
+static int __devexit s3c_adc_remove(struct platform_device *pdev)
{
struct adc_device *adc = platform_get_drvdata(pdev);

--
1.6.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


ben-linux at fluff

Dec 3, 2009, 2:07 PM

Post #2 of 3 (59 views)
Permalink
Re: [PATCH 15/38] move s3c_adc_remove to .devexit.text [In reply to]

On Tue, Nov 24, 2009 at 10:07:10PM +0100, Uwe Kleine-König wrote:
> The function s3c_adc_remove is used only wrapped by __devexit_p so define
> it using __devexit.

Shall I put these into my tree?

> Signed-off-by: Uwe Kleine-König <u.kleine-koenig [at] pengutronix>
> Acked-by: Sam Ravnborg <sam [at] ravnborg>
> Cc: Russell King <linux [at] arm>
> Acked-By: Ben Dooks <ben [at] simtec>
> Cc: Ramax Lo <ramaxlo [at] gmail>
> Cc: Nelson Castillo <arhuaco [at] freaks-unidos>
> Cc: linux-kernel [at] vger
> Cc: Ben Dooks <ben-linux [at] fluff>
> Cc: Alexey Dobriyan <adobriyan [at] gmail>
> Cc: Ryan Mallon <ryan [at] bluewatersys>
> Cc: linux-arm-kernel [at] lists
> ---
> arch/arm/plat-s3c24xx/adc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/plat-s3c24xx/adc.c b/arch/arm/plat-s3c24xx/adc.c
> index df47322..ce47627 100644
> --- a/arch/arm/plat-s3c24xx/adc.c
> +++ b/arch/arm/plat-s3c24xx/adc.c
> @@ -365,7 +365,7 @@ static int s3c_adc_probe(struct platform_device *pdev)
> return ret;
> }
>
> -static int s3c_adc_remove(struct platform_device *pdev)
> +static int __devexit s3c_adc_remove(struct platform_device *pdev)
> {
> struct adc_device *adc = platform_get_drvdata(pdev);
>
> --
> 1.6.5.2
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel [at] lists
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

--
--
Ben

Q: What's a light-year?
A: One-third less calories than a regular year.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


u.kleine-koenig at pengutronix

Dec 3, 2009, 2:10 PM

Post #3 of 3 (62 views)
Permalink
Re: [PATCH 15/38] move s3c_adc_remove to .devexit.text [In reply to]

Hi Ben,

On Thu, Dec 03, 2009 at 10:07:18PM +0000, Ben Dooks wrote:
> On Tue, Nov 24, 2009 at 10:07:10PM +0100, Uwe Kleine-König wrote:
> > The function s3c_adc_remove is used only wrapped by __devexit_p so define
> > it using __devexit.
>
> Shall I put these into my tree?
Yes, I think your's is the right one.

Thanks
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.