[PATCH 6.18 151/430] Input: alps - fix use-after-free bugs caused by dev3_register_work