public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] backlight: ams369fg06: Staticize ams369fg06_shutdown
@ 2011-07-05  5:00 Axel Lin
  0 siblings, 0 replies; 2+ messages in thread
From: Axel Lin @ 2011-07-05  5:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jingoo Han, Richard Purdie, Andrew Morton

It's only used in ams369fg06.c, no need for it to be in the global namespace.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/video/backlight/ams369fg06.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/backlight/ams369fg06.c b/drivers/video/backlight/ams369fg06.c
index 201a593..59fab88 100644
--- a/drivers/video/backlight/ams369fg06.c
+++ b/drivers/video/backlight/ams369fg06.c
@@ -608,7 +608,7 @@ static int ams369fg06_resume(struct spi_device *spi)
 #define ams369fg06_resume	NULL
 #endif
 
-void ams369fg06_shutdown(struct spi_device *spi)
+static void ams369fg06_shutdown(struct spi_device *spi)
 {
 	struct ams369fg06 *lcd = dev_get_drvdata(&spi->dev);
 
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] backlight: ams369fg06: Staticize ams369fg06_shutdown
@ 2011-07-05  6:10 JinGoo Han
  0 siblings, 0 replies; 2+ messages in thread
From: JinGoo Han @ 2011-07-05  6:10 UTC (permalink / raw)
  To: Axel Lin, linux-kernel@vger.kernel.org
  Cc: JinGoo Han, Richard Purdie, Andrew Morton

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=euc-kr, Size: 1250 bytes --]

Acked-by: Jingoo Han <jg1.han@samsung.com>

> -----Original Message-----
> From: Axel Lin [mailto:axel.lin@gmail.com]
> Sent: Tuesday, July 05, 2011 2:00 PM
> To: linux-kernel@vger.kernel.org
> Cc: Jingoo Han; Richard Purdie; Andrew Morton
> Subject: [PATCH] backlight: ams369fg06: Staticize ams369fg06_shutdown
> 
> It's only used in ams369fg06.c, no need for it to be in the global
> namespace.
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
>  drivers/video/backlight/ams369fg06.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/backlight/ams369fg06.c
> b/drivers/video/backlight/ams369fg06.c
> index 201a593..59fab88 100644
> --- a/drivers/video/backlight/ams369fg06.c
> +++ b/drivers/video/backlight/ams369fg06.c
> @@ -608,7 +608,7 @@ static int ams369fg06_resume(struct spi_device *spi)
>  #define ams369fg06_resume	NULL
>  #endif
> 
> -void ams369fg06_shutdown(struct spi_device *spi)
> +static void ams369fg06_shutdown(struct spi_device *spi)
>  {
>  	struct ams369fg06 *lcd = dev_get_drvdata(&spi->dev);
> 
> --
> 1.7.4.1
> 

ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-05  6:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-05  5:00 [PATCH] backlight: ams369fg06: Staticize ams369fg06_shutdown Axel Lin
  -- strict thread matches above, loose matches on Subject: below --
2011-07-05  6:10 JinGoo Han

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox