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:
fe2d5b4
)
staging: olpc_dcon: get rid of global i2c_client, create a dcon_priv struct
author
Andres Salomon
<dilinger@queued.net>
Sun, 6 Feb 2011 23:28:30 +0000
(15:28 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 9 Feb 2011 20:11:54 +0000
(12:11 -0800)
Rather than using the global i2c_client variable, create a dcon_priv
struct, store in the drvdata portion of the dev, and pass that around.
In order to access dcon struct from various callbacks, include
the reboot notifier and source switching work struct in the dcon struct.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/olpc_dcon/olpc_dcon.c
patch
|
blob
|
history
diff --cc
drivers/staging/olpc_dcon/olpc_dcon.c
Simple merge