projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62d1086
)
can: flexcan: remove write-only member pdata of struct flexcan_priv
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Mon, 4 Jul 2016 12:43:53 +0000
(14:43 +0200)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Mon, 6 Feb 2017 14:13:28 +0000
(15:13 +0100)
This patch removes the write only member pdata from the struct
flexcan_priv.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/flexcan.c
b/drivers/net/can/flexcan.c
index 74909e599f31af451da6fc5f60ad9ff010cd7f5e..44a5aae3cefe92f8c749b256d3a5eb903946dd70 100644
(file)
--- 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;