]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
VME: Rename vme_slot_get to avoid confusion with reference counting
authorMartyn Welch <martyn.welch@ge.com>
Fri, 8 Nov 2013 11:58:35 +0000 (11:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 19:15:58 +0000 (11:15 -0800)
commitd7729f0fc40296f91b483dfb929e71b27cf75345
tree6c6d2a0f7645831c5d0908bec40fa786814f2699
parent978f47d64365fa1659178e54c5106154c315b595
VME: Rename vme_slot_get to avoid confusion with reference counting

Traditionally the "get" functions increment the reference count of the
object that is returned, which does not happen with vme_slot_get. The
function vme_slot_get returns the physical VME slot associated with a
particular struct vme_dev. Rename vme_slot_num to avoid any confusion.

Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/vme_api.txt
drivers/staging/vme/devices/vme_user.c
drivers/vme/vme.c
include/linux/vme.h