diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2016-07-04 14:43:53 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2017-02-06 15:13:28 +0100 |
commit | 1c10feee3e033b898a293d813ef4a4ebfb88dba2 (patch) | |
tree | 4f2278563f502808c2cd0b4b9c78b01c38e93730 /drivers/net/can | |
parent | 62d1086e87223260fcdc49c232d5c2e26ff05721 (diff) | |
download | blackbird-op-linux-1c10feee3e033b898a293d813ef4a4ebfb88dba2.tar.gz blackbird-op-linux-1c10feee3e033b898a293d813ef4a4ebfb88dba2.zip |
can: flexcan: remove write-only member pdata of struct flexcan_priv
This patch removes the write only member pdata from the struct
flexcan_priv.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/flexcan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c index 74909e599f31..44a5aae3cefe 100644 --- a/drivers/net/can/flexcan.c +++ b/drivers/net/can/flexcan.c @@ -264,7 +264,6 @@ struct flexcan_priv { struct clk *clk_ipg; struct clk *clk_per; - struct flexcan_platform_data *pdata; const struct flexcan_devtype_data *devtype_data; struct regulator *reg_xceiver; }; @@ -1230,7 +1229,6 @@ static int flexcan_probe(struct platform_device *pdev) priv->regs = regs; priv->clk_ipg = clk_ipg; priv->clk_per = clk_per; - priv->pdata = dev_get_platdata(&pdev->dev); priv->devtype_data = devtype_data; priv->reg_xceiver = reg_xceiver; |