[fit bringup] touch: synaptics: Fix wakeup_source event API change
On latest kernel wakeup_source_init API remove,
Need to use wakeup_source_register for the same.
This fix replaces wakeup_source_init to wakeup_source_register
wakeup_source_trash to wakeup_source_unregister
Change-Id: Iaddd6424c43a36bb193b9c4a90dd096a77746656
Signed-off-by: lixh8 <lixh8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1704594
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Submit-Approved: Jira Key
Tested-by: Jira Key
Revert "[fit bringup] touch: synaptics: Fix wakeup_source event API change"
This reverts commit 436b075a3ddfae916d5c5abe310076d98614e2ce.
fix r compile errors due to qcom api changes
Change-Id: Ifb00b2c199ded097fb337d17ef0aff93a9528efb