Skip to contentSkip to conversation

hmt: adjust for new pwm_backlight->notify prototype

PATCH New Peter Korsgaard 2 participants 2 messages Jan 21, 2010 – Jan 22, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hmt: adjust for new pwm_backlight->notify prototype

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

---
 arch/arm/mach-s3c6410/mach-hmt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-s3c6410/mach-hmt.c +1 -1
index cdd4b53..7619456 100644
@@ -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
Signature · 1 line
1.6.5
Applied
#1 lore raw

PATCH 1/1 hmt: adjust for new pwm_backlight->notify prototype

Quoted 3 lines · Peter Korsgaard

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.

Quoted 26 lines
---
 arch/arm/mach-s3c6410/mach-hmt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-s3c6410/mach-hmt.c +1 -1
index cdd4b53..7619456 100644
@@ -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
Signature · 7 lines
1.6.5


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 5 lines
-- 
Ben

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