Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104064
b: refs/heads/master
c: 1effe5b
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Ortiz authored and Samuel Ortiz committed Jul 20, 2008
1 parent c86afbc commit e305ee4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f2384c4bdd4be3dc1e5d22ed5e6f0c3076fda60
refs/heads/master: 1effe5bc6cfbac4506d7944d68dadbd29ad62645
8 changes: 0 additions & 8 deletions trunk/drivers/mfd/asic3.c
Original file line number Diff line number Diff line change
Expand Up @@ -604,14 +604,6 @@ static int asic3_probe(struct platform_device *pdev)
goto out_irq;
}

if (pdata->children) {
int i;
for (i = 0; i < pdata->n_children; i++) {
pdata->children[i]->dev.parent = &pdev->dev;
platform_device_register(pdata->children[i]);
}
}

printk(KERN_INFO "ASIC3 Core driver\n");

return 0;
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/linux/mfd/asic3.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ struct asic3_platform_data {
unsigned int irq_base;

unsigned int gpio_base;

struct platform_device **children;
unsigned int n_children;
};

#define ASIC3_NUM_GPIO_BANKS 4
Expand Down

0 comments on commit e305ee4

Please sign in to comment.