git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e751fe
)
cbus: retu: pass the child device pointer to all retu functions
author
Felipe Balbi
<balbi@ti.com>
Mon, 14 Feb 2011 18:05:26 +0000
(20:05 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 16 Feb 2011 19:38:27 +0000
(21:38 +0200)
Throught the child device pointer, we can fetch
our needed struct retu simply by dev_get_drvdata(child->parent)
By using that trick, we can get really close to getting
rid of the global struct retu pointer.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/cbus/retu-headset.c
patch
|
blob
|
history
drivers/cbus/retu-pwrbutton.c
patch
|
blob
|
history
drivers/cbus/retu-rtc.c
patch
|
blob
|
history
drivers/cbus/retu-wdt.c
patch
|
blob
|
history
drivers/cbus/retu.c
patch
|
blob
|
history
drivers/cbus/retu.h
patch
|
blob
|
history
diff --cc
drivers/cbus/retu-headset.c
Simple merge
diff --cc
drivers/cbus/retu-pwrbutton.c
Simple merge
diff --cc
drivers/cbus/retu-rtc.c
Simple merge
diff --cc
drivers/cbus/retu-wdt.c
Simple merge
diff --cc
drivers/cbus/retu.c
Simple merge
diff --cc
drivers/cbus/retu.h
Simple merge