summaryrefslogtreecommitdiff
path: root/drivers/staging/cw1200/cw1200_plat.h
diff options
context:
space:
mode:
authorDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>2011-05-26 14:50:06 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:06:19 +0200
commitf21ed94daa73a203b5c537c18cf8d0ecfd320f5c (patch)
treee9c27663fb8687cdcc829cbe272432fbba594fce /drivers/staging/cw1200/cw1200_plat.h
parent6aee38542825ea891c851b4696dbe0c241264708 (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>
Diffstat (limited to 'drivers/staging/cw1200/cw1200_plat.h')
-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;