can: rename can_try_module_get to can_get_proto
authorKurt Van Dijck <kurt.van.dijck@eia.be>
Tue, 3 May 2011 18:42:04 +0000 (18:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2011 21:08:37 +0000 (14:08 -0700)
commitc8d55a9d9e257e67d02a6f673a943dd77e6bf24e
tree99bf837975a0ee0d20945bc2c3d3ba2f630a9cd5
parent1650629d1800bf05ad775f974e931ca2fa03b0ff
can: rename can_try_module_get to can_get_proto

can: rename can_try_module_get to can_get_proto

can_try_module_get does return a struct can_proto.
The name explains what is done in so much detail that a caller
may not notice that a struct can_proto is locked/unlocked.

Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/af_can.c