summaryrefslogtreecommitdiffstats
path: root/drivers/pps
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2014-01-15 10:23:44 +0800
committerDavid S. Miller <davem@davemloft.net>2014-01-14 18:50:47 -0800
commit5af28de35342f630a91061e25cc976a01b7ca6c4 (patch)
tree6601cac6792af4d03ff3913f16fc73ecdbaa8c29 /drivers/pps
parenta74e9426948cce451af0433c69a120178948cb03 (diff)
downloadlinux-5af28de35342f630a91061e25cc976a01b7ca6c4.tar.bz2
can: use __dev_get_by_index instead of dev_get_by_index to find interface
As cgw_create_job() is always under rtnl_lock protection, __dev_get_by_index() instead of dev_get_by_index() should be used to find interface handler in it having us avoid to change interface reference counter. Cc: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Ying Xue <ying.xue@windriver.com> Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions