drivers: sensors: fix of sensor channel get for z axis

the correct value is returned when using sensor channel get function to
read z-axis value

Signed-off-by: Vojislav Milivojevic <milivojevicvoja@yahoo.com>
1 file changed