w1: have netlink search update kernel list
authorDavid Fries <David@Fries.net>
Thu, 26 May 2011 23:26:03 +0000 (16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 27 May 2011 00:12:38 +0000 (17:12 -0700)
commit963bb101010169b9bb32b5c21af785e2f9abdaf3
tree8e5d4cfae208bf5ac1044994291e7cde9570362a
parent26a6afb917a8e3eb603358be1238a69e8a16d0ee
w1: have netlink search update kernel list

Reorganize so the netlink connector one wire search command will update
the kernel list of detected slave devices.  Otherwise, a newly detected
device is unusable because unless it's in the kernel list of known devices
any commands will result in ENODEV status.

Signed-off-by: David Fries <David@Fries.net>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/w1/w1.c
drivers/w1/w1.h
drivers/w1/w1_netlink.c