touchpad: fix some easy warnings

Authored by aacid on Jun 19 2019, 8:59 PM.