Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4c190eb authored by Joachim Eastwood's avatar Joachim Eastwood Committed by David S. Miller
Browse files

stmmac: drop custom_* fields from plat_stmmacenet_data



Both of these fields are unused and has been unused since they
were added 3 and 5 years ago. Drop them since they are clearly
not very useful.

Signed-off-by: default avatarJoachim Eastwood <manabian@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1734befd
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -139,8 +139,6 @@ struct plat_stmmacenet_data {
	void (*free)(struct platform_device *pdev, void *priv);
	void (*free)(struct platform_device *pdev, void *priv);
	int (*init)(struct platform_device *pdev, void *priv);
	int (*init)(struct platform_device *pdev, void *priv);
	void (*exit)(struct platform_device *pdev, void *priv);
	void (*exit)(struct platform_device *pdev, void *priv);
	void *custom_cfg;
	void *custom_data;
	void *bsp_priv;
	void *bsp_priv;
};
};


@@ -186,8 +184,6 @@ Where:
	     which will be stored in bsp_priv, and then passed to init and
	     which will be stored in bsp_priv, and then passed to init and
	     exit callbacks. init/exit callbacks should not use or modify
	     exit callbacks. init/exit callbacks should not use or modify
	     platform data.
	     platform data.
 o custom_cfg/custom_data: this is a custom configuration that can be passed
			   while initializing the resources.
 o bsp_priv: another private pointer.
 o bsp_priv: another private pointer.


For MDIO bus The we have:
For MDIO bus The we have:
+0 −2
Original line number Original line Diff line number Diff line
@@ -123,8 +123,6 @@ struct plat_stmmacenet_data {
	void (*free)(struct platform_device *pdev, void *priv);
	void (*free)(struct platform_device *pdev, void *priv);
	int (*init)(struct platform_device *pdev, void *priv);
	int (*init)(struct platform_device *pdev, void *priv);
	void (*exit)(struct platform_device *pdev, void *priv);
	void (*exit)(struct platform_device *pdev, void *priv);
	void *custom_cfg;
	void *custom_data;
	void *bsp_priv;
	void *bsp_priv;
};
};