mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
ctwov:change sar sensor driver
----compaly with the lastest compliation rules Change-Id: Iad1434de6121f6cb3779b15e7ea039ac78215431 Signed-off-by: qiurp1 <qiurp1@lenovo.com> Reviewed-on: https://gerrit.mot.com/2777235 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Jiyue Cui <cuijy2@lenovo.com> Reviewed-by: Tao Sun <suntao2@motorola.com> Tested-by: Jira Key Submit-Approved: Jira Key
This commit is contained in:
parent
c12e5182ad
commit
ca67639019
1 changed files with 8 additions and 1 deletions
|
|
@ -1528,7 +1528,11 @@ Hardware_CheckFail:
|
|||
* \param client Pointer to i2c_client struct
|
||||
* \return Value 0
|
||||
*/
|
||||
#if KERNEL_VERSION(6, 1, 0) > LINUX_VERSION_CODE
|
||||
static int sx937x_remove(struct i2c_client *client)
|
||||
#else
|
||||
static void sx937x_remove(struct i2c_client *client)
|
||||
#endif
|
||||
{
|
||||
psx937x_platform_data_t pplatData =0;
|
||||
struct _buttonInfo *pCurrentbutton;
|
||||
|
|
@ -1563,7 +1567,10 @@ static int sx937x_remove(struct i2c_client *client)
|
|||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
#if KERNEL_VERSION(6, 1, 0) > LINUX_VERSION_CODE
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
}
|
||||
/*====================================================*/
|
||||
/***** Kernel Suspend *****/
|
||||
|
|
|
|||
Loading…
Reference in a new issue