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:
92ed1a7
)
i2c-algo-bit: Refactor adapter registration
author
Jean Delvare
<khali@linux-fr.org>
Mon, 10 Jan 2011 21:11:23 +0000
(22:11 +0100)
committer
Jean Delvare
<khali@endymion.delvare>
Mon, 10 Jan 2011 21:11:23 +0000
(22:11 +0100)
Use a function pointer to decide whether to call i2c_add_adapter or
i2c_add_numbered_adapter. This makes the code more compact than the
current strategy of having the common code in a separate function.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
No differences found