Skip to content
Commit b78165f0 authored by Jaghathiswari Rankappagounder Natarajan's avatar Jaghathiswari Rankappagounder Natarajan Committed by Greg Kroah-Hartman
Browse files

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: default avatarJaghathiswari Rankappagounder Natarajan <jaghu@google.com>
Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2eb79548
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment