drivers: w1: refactor w1_slave_show to make the temp reading functionality separate
Inside the w1_slave_show function refactor the code to read the temp into a separate function. Signed-off-by: NJaghathiswari Rankappagounder Natarajan <jaghu@google.com> Acked-by: NGuenter Roeck <linux@roeck-us.net> Acked-by: NEvgeniy Polyakov <zbr@ioremap.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录