git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/alternatives: Fix p6 nops on non-modular kernels
[pandora-kernel.git]
/
drivers
/
gpio
/
gpio-pl061.c
diff --git
a/drivers/gpio/gpio-pl061.c
b/drivers/gpio/gpio-pl061.c
index
093c90b
..
4102f63
100644
(file)
--- a/
drivers/gpio/gpio-pl061.c
+++ b/
drivers/gpio/gpio-pl061.c
@@
-238,10
+238,6
@@
static int pl061_probe(struct amba_device *dev, const struct amba_id *id)
int ret, irq, i;
static DECLARE_BITMAP(init_irq, NR_IRQS);
- pdata = dev->dev.platform_data;
- if (pdata == NULL)
- return -ENODEV;
-
chip = kzalloc(sizeof(*chip), GFP_KERNEL);
if (chip == NULL)
return -ENOMEM;