qcacmn: Use appropriate dev handle in OS wrappers
The device handles used in OS wrappers should be of the desired type. Change-Id: I6a72c578492662e7c3907c844d9307fc0dc98e53 CRs-Fixed: 2299595
这个提交包含在:
@@ -92,14 +92,12 @@ QDF_STATUS
|
||||
qal_vbus_get_dev_rstctl(struct qdf_pfm_hndl *pfhndl, const char *state,
|
||||
struct qdf_vbus_rstctl **rstctl)
|
||||
{
|
||||
struct platform_device *pfdev;
|
||||
struct reset_control *rsctl;
|
||||
|
||||
if (!pfhndl || !state)
|
||||
return QDF_STATUS_E_INVAL;
|
||||
|
||||
pfdev = (struct platform_device *)pfhndl;
|
||||
rsctl = reset_control_get(&pfdev->dev, state);
|
||||
rsctl = reset_control_get((struct device *)pfhndl, state);
|
||||
|
||||
if (!rsctl)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
在新工单中引用
屏蔽一个用户