summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/eeprom.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-09-03 08:00:30 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-06 02:32:53 +0200
commitbd516bd1feeb3890502178a74228ec05271f2b6d (patch)
tree24e89e1951cff4c3005e89b3eba56bfd97c83165 /drivers/thunderbolt/eeprom.c
parentnet/ipv6: Correct PIM6 mrt_lock handling (diff)
downloadlinux-bd516bd1feeb3890502178a74228ec05271f2b6d.tar.xz
linux-bd516bd1feeb3890502178a74228ec05271f2b6d.zip
net: wan: sbni: fix device usage count
dev_get_by_name() will increment the usage count if the matching device is found. But we were not decrementing the count if we have got the device and the device is non-active. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/thunderbolt/eeprom.c')
0 files changed, 0 insertions, 0 deletions