projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0638d56
)
mfd: mfd_cell is now implicitly available to tc6387xb drivers
author
Andres Salomon
<
[email protected]
>
Fri, 18 Feb 2011 03:07:21 +0000
(19:07 -0800)
committer
Samuel Ortiz
<
[email protected]
>
Wed, 23 Mar 2011 09:41:54 +0000
(10:41 +0100)
No need to explicitly set the cell's platform_data/data_size.
Signed-off-by: Andres Salomon <
[email protected]
>
Signed-off-by: Samuel Ortiz <
[email protected]
>
drivers/mfd/tc6387xb.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/tc6387xb.c
b/drivers/mfd/tc6387xb.c
index 6315f63f017dd820266f4aee6abfe3352b38e334..6bf177536870dca1bee8a33c002b7d25049e49f2 100644
(file)
--- a/
drivers/mfd/tc6387xb.c
+++ b/
drivers/mfd/tc6387xb.c
@@
-190,11
+190,6
@@
static int __devinit tc6387xb_probe(struct platform_device *dev)
printk(KERN_INFO "Toshiba tc6387xb initialised\n");
- tc6387xb_cells[TC6387XB_CELL_MMC].platform_data =
- &tc6387xb_cells[TC6387XB_CELL_MMC];
- tc6387xb_cells[TC6387XB_CELL_MMC].data_size =
- sizeof(tc6387xb_cells[TC6387XB_CELL_MMC]);
-
ret = mfd_add_devices(&dev->dev, dev->id, tc6387xb_cells,
ARRAY_SIZE(tc6387xb_cells), iomem, irq);