]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: dp83848: Fix sysfs naming collision warning
authorAndrew F. Davis <afd@ti.com>
Thu, 18 Feb 2016 00:10:00 +0000 (18:10 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 20:53:10 +0000 (15:53 -0500)
commit5543877a7d80cb47c02b1472a9c5d74dd8d94598
treeea8847a3c92bc85113cb522fd6c940f356392bd4
parent6b4e5fbda3b7e6a5074c20c99458fb4c92b40871
net: phy: dp83848: Fix sysfs naming collision warning

Files in sysfs are created using the name from the phy_driver struct,
when two names are the same we may get a duplicate filename warning,
fix this.

Reported-by: kernel test robot <ying.huang@linux.intel.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83848.c