summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>2011-05-26 14:50:06 +0200
committerRobert Marklund <robert.marklund@stericsson.com>2011-10-05 12:16:25 +0200
commit93d494db9d6c5b7749a3be70be228f88650f83c0 (patch)
treecd250d3f09fc9602db1a97e24e9a6ce23d2e26b1
parent6e3de650a52d29e073bdea7f4221c0ee36d79dad (diff)
cw1200: Remove link to platform_device from platform_data.
Pointer to platform_device was added to the cw1200 platform_data in the regulator support commit. It is not needed and breaks design: cw1200 platform_devce should not be exposed to the cw1200 driver. Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Change-Id: Ic880da9e4bc7ee4d3cfd759bf201c6f850509142 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25140 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
-rw-r--r--drivers/staging/cw1200/cw1200_plat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/cw1200/cw1200_plat.h b/drivers/staging/cw1200/cw1200_plat.h
index 573bc06ac7f..ed354de0edf 100644
--- a/drivers/staging/cw1200/cw1200_plat.h
+++ b/drivers/staging/cw1200/cw1200_plat.h
@@ -8,7 +8,6 @@
#include <linux/ioport.h>
struct cw1200_platform_data {
- struct platform_device *device;
const char *mmc_id;
const struct resource *irq;
const struct resource *reset;