qcacmn: Use pld api to get pci slot

Use pld api to get pci slot instead of getting pci slot from
domain.

Change-Id: I0a2024eba89ee98c645f613ea4aa56dbb2089537
This commit is contained in:
Nandha Kishore Easwaran
2021-04-20 10:21:30 +05:30
committed by Madan Koyyalamudi
parent f1cd24767e
commit df35f813fd
3 changed files with 6 additions and 78 deletions

View File

@@ -36,17 +36,6 @@ typedef __qdf_devnode_t qdf_devnode_t;
#ifdef ENHANCED_OS_ABSTRACTION
/**
* qal_devnode_fetch_pci_domain_id() - This function will try to obtain the
* host bridge domain number
* @node: device tree node
* @domain_id: pointer to domain number
*
* Return: QDF_STATUS_SUCCESS if domain_id is in the range, error code otherwise
*/
QDF_STATUS
qal_devnode_fetch_pci_domain_id(qdf_devnode_t devnode, int *domain_id);
/**
* qal_devnode_read_u32_array() - Find and read an array of 32 bit integers
* from a property.
@@ -72,11 +61,6 @@ QDF_STATUS
qal_devnode_read_u32(const qdf_devnode_t devnode,
const char *pname, uint32_t *u32_val);
#else
static inline QDF_STATUS
qal_devnode_fetch_pci_domain_id(qdf_devnode_t devnode, int *domain_id)
{
return __qal_devnode_fetch_pci_domain_id(devnode, domain_id);
}
static inline QDF_STATUS
qal_devnode_read_u32_array(const qdf_devnode_t devnode,