Commit 22dc09ca authored by Maxin B. John's avatar Maxin B. John Committed by Greg Kroah-Hartman
Browse files

staging:iio:light:tsl2563 missing setting of id in get id function.

parent a7e3bd66
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -226,6 +226,8 @@ static int tsl2563_read_id(struct tsl2563_chip *chip, u8 *id)
	if (ret < 0)
		return ret;

	*id = ret;

	return 0;
}