infiniband: rename "device" to "ib_device" in cm_device
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 May 2008 07:17:53 +0000 (10:17 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:49 +0000 (21:54 -0700)
commitd4c4196f24ade5f336882587480652efde2c739c
tree91e5f257a181b51c200d1b3b6e02bc2e3ee780cf
parent27f302519148f311307637d4c9a6d0fd87d07e4c
infiniband: rename "device" to "ib_device" in cm_device

This pointer really is a struct ib_device, not a struct device, so name
it properly to help prevent confusion.

This makes the followon patch in this series much smaller and easier to
understand as well.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Roland Dreier <rolandd@cisco.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/infiniband/core/cm.c