android_kernel_motorola_sm6225/drivers/misc/pen
huangjq9 4f83f06272 hall: stylus bu520xx: Fix wakeup_source event API change
Refer to https://gerrit.mot.com/#/c/1721469/
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: I0ae76f3f942237fc89c943fbd65ed48eefd9b698
Signed-off-by: huangjq9 <huangjq9@motorola.com>
Reviewed-on: https://gerrit.mot.com/1778411
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2020-10-19 04:21:27 -05:00
..
Android.mk hall-sensor: add Stylus Detector driver 2019-07-16 06:06:49 +00:00
bu520xx_pen.c hall: stylus bu520xx: Fix wakeup_source event API change 2020-10-19 04:21:27 -05:00
Kbuild hall: stylus bu520xx: fix the compilation errors 2020-10-19 04:20:29 -05:00
Makefile hall-sensor: add Stylus Detector driver 2019-07-16 06:06:49 +00:00