]> 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)
commite60a80a58f70ec1b8ec2f613a19a3fb94288b9f5
treeea8847a3c92bc85113cb522fd6c940f356392bd4
parent945806a60fd5e43bc525bff3c07451c712a09909
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