thermal: tsens8974: Initialize sensor sw_id index

Not initializing the sw_id index results incorrect
hw sensor id index or invalid return value.

Change-Id: I42b1f5b17bc68460bc854706fe695ab0a8d46066
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
1 file changed