commit | f28c4e1f31802ec746a1b1dc0d7ec97f8de47024 | [log] [tgz] |
---|---|---|
author | David Fries <David@Fries.net> | Wed Jan 15 22:29:21 2014 -0600 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 07 15:40:18 2014 -0800 |
tree | bba1e0419cbed441ea09be8c9d55f99f93d930f3 | |
parent | 5dbf5671c73f23c2dd7082c0a14da4e7e902983a [diff] |
w1: ds2490 reduce magic numbers Use a #define for the usb vendor request type, clear the status byte and use that instead of a magic offset in checking if idle. Signed-off-by: David Fries <David@Fries.net> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>