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>
This commit is contained in:
Martyn Welch
2013-11-08 11:58:35 +00:00
committed by Greg Kroah-Hartman
부모 978f47d643
커밋 d7729f0fc4
4개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제

파일 보기

@@ -393,7 +393,7 @@ Slot Detection
This function returns the slot ID of the provided bridge.
int vme_slot_get(struct vme_dev *dev);
int vme_slot_num(struct vme_dev *dev);
Bus Detection