[PATCH 2/2] VME: Rename vme_slot_get to avoid confusion with reference counting

2013-11-08 Thread Martyn Welch
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: M

[PATCH 2/2] VME: Rename vme_slot_get to avoid confusion with reference counting

2013-11-08 Thread Martyn Welch
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: M