projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c02e6a5
)
mfd: Use resouce_size for tc6393xb
author
H Hartley Sweeten
<hartleys@visionengravers.com>
Tue, 5 Jan 2010 19:01:16 +0000
(20:01 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 7 Mar 2010 21:16:54 +0000
(22:16 +0100)
Use resource_size() for ioremap.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Molton <ian@mnementh.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tc6393xb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/tc6393xb.c
b/drivers/mfd/tc6393xb.c
index 4bc5a08a2b09e8421548aaa5a0a99ecfa70370eb..c59e5c5737d05fb2961eed8528a98e114fa29b2a 100644
(file)
--- a/
drivers/mfd/tc6393xb.c
+++ b/
drivers/mfd/tc6393xb.c
@@
-647,7
+647,7
@@
static int __devinit tc6393xb_probe(struct platform_device *dev)
if (ret)
goto err_request_scr;
- tc6393xb->scr = ioremap(rscr->start, r
scr->end - rscr->start + 1
);
+ tc6393xb->scr = ioremap(rscr->start, r
esource_size(rscr)
);
if (!tc6393xb->scr) {
ret = -ENOMEM;
goto err_ioremap;