InputDevices: Fix compiler warnings

Change-Id: Ic1010e04d574623228d9c2e7d3d4ef31ec2dcc41
Merge "InputDevices: Fix compiler warnings" into cm-10.1
Merge remote branch 'cm/cm-10.1' into cm-10.1