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:
c7f9129
)
mfd: twl-core: Simplify IO wrapper functions by moving common code out
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Fri, 3 Jan 2014 13:27:46 +0000
(15:27 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 8 Jan 2014 11:36:59 +0000
(11:36 +0000)
The new twl_get_regmap() function will return a pointer to the regmap needed
for the given module.
Since both read and write function were using the same code to do the lookup
we can reuse this in both places to simplify the code.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/twl-core.c
patch
|
blob
|
history
diff --cc
drivers/mfd/twl-core.c
Simple merge