qcacld-3.0: Rename osif_*_sync_create_with_trans()
Rename the osif_*_sync_create_with_trans() to a slightly more appropriate osid_*_sync_create_and_trans(), to help convey the fact that the transition does not end when the function returns. Change-Id: I5606fb613d786d65de773dae49fe8ad431b5342f CRs-Fixed: 2406713
This commit is contained in:
@@ -40,7 +40,7 @@ osif_vdev_sync_create(struct device *dev,
|
||||
struct osif_vdev_sync **out_vdev_sync);
|
||||
|
||||
/**
|
||||
* osif_vdev_sync_create_with_trans() - create a vdev synchronization context
|
||||
* osif_vdev_sync_create_and_trans() - create a vdev synchronization context
|
||||
* @dev: parent device to the vdev
|
||||
* @out_vdev_sync: out parameter for the new synchronization context
|
||||
*
|
||||
@@ -48,13 +48,13 @@ osif_vdev_sync_create(struct device *dev,
|
||||
*
|
||||
* Return: Errno
|
||||
*/
|
||||
#define osif_vdev_sync_create_with_trans(dev, out_vdev_sync) \
|
||||
__osif_vdev_sync_create_with_trans(dev, out_vdev_sync, __func__)
|
||||
#define osif_vdev_sync_create_and_trans(dev, out_vdev_sync) \
|
||||
__osif_vdev_sync_create_and_trans(dev, out_vdev_sync, __func__)
|
||||
|
||||
qdf_must_check int
|
||||
__osif_vdev_sync_create_with_trans(struct device *dev,
|
||||
struct osif_vdev_sync **out_vdev_sync,
|
||||
const char *desc);
|
||||
__osif_vdev_sync_create_and_trans(struct device *dev,
|
||||
struct osif_vdev_sync **out_vdev_sync,
|
||||
const char *desc);
|
||||
|
||||
/**
|
||||
* osif_vdev_sync_destroy() - destroy a vdev synchronization context
|
||||
|
Reference in New Issue
Block a user