input: sensor-dev: fix smatch warning