commit | b78165f028713121609dae40f10246da6293a281 | [log] [tgz] |
---|---|---|
author | Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> | Wed Aug 30 16:34:34 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 31 18:50:14 2017 +0200 |
tree | b4323705fccb967873d6018b6f3c05c622309eba | |
parent | 2eb7954809bf26de27bc3a2fea4eef606bbf4482 [diff] |
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: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>