commit | af00a2d5a047455b35d1e7dc4c7d9993c2bcfb93 | [log] [tgz] |
---|---|---|
author | David Fries <david@fries.net> | Wed Oct 15 22:04:53 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 16 11:21:50 2008 -0700 |
tree | 2ad744edff4aa6b4f63c39b9285b578f407fff74 | |
parent | e0d29c7699de723432da268748aefe9624fc8529 [diff] |
W1: w1_int.c use first available master number Follow the example of other devices (like the joystick device). Pick the first available id for each detected device. Currently for USB devices, suspending and resuming would cause the number to increment. Signed-off-by: David Fries <david@fries.net> Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>