aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@nokia.com>2020-02-26 18:49:01 +0200
committerDavid S. Miller <davem@davemloft.net>2020-02-26 20:55:14 -0800
commit474a31e13a4e9749fb3ee55794d69d0f17ee0998 (patch)
tree6b114e11a9ed3ed7935ecb249122743d20d65120 /drivers/gpio
parentnet: phy: mscc: fix firmware paths (diff)
downloadlinux-dev-474a31e13a4e9749fb3ee55794d69d0f17ee0998.tar.xz
linux-dev-474a31e13a4e9749fb3ee55794d69d0f17ee0998.zip
net: stmmac: fix notifier registration
We cannot register the same netdev notifier multiple times when probing stmmac devices. Register the notifier only once in module init, and also make debugfs creation/deletion safe against simultaneous notifier call. Fixes: 481a7d154cbb ("stmmac: debugfs entry name is not be changed when udev rename device name.") Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions