linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hmt: adjust for new pwm_backlight->notify prototype
@ 2010-01-21 21:56 Peter Korsgaard
  2010-01-22  4:24 ` Ben Dooks
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Korsgaard @ 2010-01-21 21:56 UTC (permalink / raw)
  To: linux-arm-kernel

Commit cfc38999f (backlight: Pass device through notify callback)
added a struct device argument to the notify callback, but didn't
update the user of it in mach-hmt.c

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 arch/arm/mach-s3c6410/mach-hmt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-s3c6410/mach-hmt.c b/arch/arm/mach-s3c6410/mach-hmt.c
index cdd4b53..7619456 100644
--- a/arch/arm/mach-s3c6410/mach-hmt.c
+++ b/arch/arm/mach-s3c6410/mach-hmt.c
@@ -82,7 +82,7 @@ static int hmt_bl_init(struct device *dev)
 	return ret;
 }
 
-static int hmt_bl_notify(int brightness)
+static int hmt_bl_notify(struct device *dev, int brightness)
 {
 	/*
 	 * translate from CIELUV/CIELAB L*->brightness, E.G. from
-- 
1.6.5

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

* [PATCH] hmt: adjust for new pwm_backlight->notify prototype
  2010-01-21 21:56 [PATCH] hmt: adjust for new pwm_backlight->notify prototype Peter Korsgaard
@ 2010-01-22  4:24 ` Ben Dooks
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Dooks @ 2010-01-22  4:24 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 21, 2010 at 10:56:58PM +0100, Peter Korsgaard wrote:
> Commit cfc38999f (backlight: Pass device through notify callback)
> added a struct device argument to the notify callback, but didn't
> update the user of it in mach-hmt.c

applied to for-linus/samsung and in recent pull request.
 
> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
> ---
>  arch/arm/mach-s3c6410/mach-hmt.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-s3c6410/mach-hmt.c b/arch/arm/mach-s3c6410/mach-hmt.c
> index cdd4b53..7619456 100644
> --- a/arch/arm/mach-s3c6410/mach-hmt.c
> +++ b/arch/arm/mach-s3c6410/mach-hmt.c
> @@ -82,7 +82,7 @@ static int hmt_bl_init(struct device *dev)
>  	return ret;
>  }
>  
> -static int hmt_bl_notify(int brightness)
> +static int hmt_bl_notify(struct device *dev, int brightness)
>  {
>  	/*
>  	 * translate from CIELUV/CIELAB L*->brightness, E.G. from
> -- 
> 1.6.5
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> 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.

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

end of thread, other threads:[~2010-01-22  4:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-21 21:56 [PATCH] hmt: adjust for new pwm_backlight->notify prototype Peter Korsgaard
2010-01-22  4:24 ` Ben Dooks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).