qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_tsf.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.
Change-Id: I2fd1dec7120e0c0a21b51080d654b5dc653e2589
CRs-Fixed: 2101074
diff --git a/core/hdd/inc/wlan_hdd_tsf.h b/core/hdd/inc/wlan_hdd_tsf.h
index f8e5ed3..384ee2c 100644
--- a/core/hdd/inc/wlan_hdd_tsf.h
+++ b/core/hdd/inc/wlan_hdd_tsf.h
@@ -178,7 +178,7 @@
*
* Return: Describe the execute result of this routine
*/
-int hdd_start_tsf_sync(hdd_adapter_t *adapter);
+int hdd_start_tsf_sync(struct hdd_adapter *adapter);
/**
* hdd_stop_tsf_sync() - stop tsf sync
@@ -188,7 +188,7 @@
*
* Return: Describe the execute result of this routine
*/
-int hdd_stop_tsf_sync(hdd_adapter_t *adapter);
+int hdd_stop_tsf_sync(struct hdd_adapter *adapter);
/**
* hdd_tsf_notify_wlan_state_change() -
@@ -201,7 +201,7 @@
*
* Return: nothing
*/
-void hdd_tsf_notify_wlan_state_change(hdd_adapter_t *adapter,
+void hdd_tsf_notify_wlan_state_change(struct hdd_adapter *adapter,
eConnectionState old_state,
eConnectionState new_state);
@@ -231,18 +231,18 @@
*/
int hdd_rx_timestamp(qdf_nbuf_t netbuf, uint64_t target_time);
#else
-static inline int hdd_start_tsf_sync(hdd_adapter_t *adapter)
+static inline int hdd_start_tsf_sync(struct hdd_adapter *adapter)
{
return -ENOTSUPP;
}
-static inline int hdd_stop_tsf_sync(hdd_adapter_t *adapter)
+static inline int hdd_stop_tsf_sync(struct hdd_adapter *adapter)
{
return -ENOTSUPP;
}
static inline
-void hdd_tsf_notify_wlan_state_change(hdd_adapter_t *adapter,
+void hdd_tsf_notify_wlan_state_change(struct hdd_adapter *adapter,
eConnectionState old_state,
eConnectionState new_state)