提交 22dc09ca 编写于 作者: M Maxin B. John 提交者: Greg Kroah-Hartman

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

Signed-off-by: NMaxin B. John <maxin.john@gmail.com>
Reviewed-by: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 a7e3bd66
......@@ -226,6 +226,8 @@ static int tsl2563_read_id(struct tsl2563_chip *chip, u8 *id)
if (ret < 0)
return ret;
*id = ret;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册