w1: ds2490 reduce magic numbers
authorDavid Fries <David@Fries.net>
Thu, 16 Jan 2014 04:29:21 +0000 (22:29 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 23:40:18 +0000 (15:40 -0800)
commitf28c4e1f31802ec746a1b1dc0d7ec97f8de47024
treebba1e0419cbed441ea09be8c9d55f99f93d930f3
parent5dbf5671c73f23c2dd7082c0a14da4e7e902983a
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>
drivers/w1/masters/ds2490.c