From: Sudip Mukherjee Date: Thu, 3 Sep 2015 06:00:30 +0000 (+0530) Subject: net: wan: sbni: fix device usage count X-Git-Tag: omap-for-v4.3/fixes-rc1~42^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd516bd1feeb3890502178a74228ec05271f2b6d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed