I will remove it.+struct nvt_priv_data {phy_mode does not seem to be used outside of nuvoton_gmac_setup(). In
+ struct platform_device *pdev;
+ int id;
+ struct regmap *regmap;
+ phy_interface_t phy_mode;
fact nothing in nvt_priv_data is used outside of
nuvoton_gmac_setup. So it looks like you can remove it.
I will fix it.+ if (of_property_read_u32(dev->of_node, "tx_delay", &tx_delay)) {Please don't spam the logs. dev_dbg(), or no message at all.
+ dev_info(dev, "Set TX delay(0x0).\n");
+ tx_delay = 0x0;
+ } else {
+ dev_info(dev, "Set TX delay(0x%x).\n", tx_delay);
Andrew