mirror of https://gitee.com/openkylin/linux.git
04d53b20fe
of_phy_find_device() increments the phy struct device refcount, which
we need to properly balance. Add code to network drivers using this
function to ensure that the struct device refcount is correctly
balanced.
For xgene, looking back in the history, we should be able to use
of_phy_connect() with a zero flags argument for the DT case as this is
how the driver used to operate prior to
|
||
---|---|---|
.. | ||
xgene | ||
Kconfig | ||
Makefile |