stmmac: debugfs entry name is not be changed when udev rename device name.
authorJiping Ma <jiping.ma2@windriver.com>
Tue, 7 Jan 2020 06:34:00 +0000 (14:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jan 2020 21:26:16 +0000 (13:26 -0800)
commit481a7d154cbbd5ca355cc01cc8969876b240eded
treeccecfa94128493ba76b8cbd7b951cc3f631ae396
parentc101fffcd7fa83a851d180721426fe1b7c7daf8e
stmmac: debugfs entry name is not be changed when udev rename device name.

Add one notifier for udev changes net device name.
Fixes: b6601323ef9e ("net: stmmac: debugfs entry name is not be changed when udev rename")
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c