Revert ds1wm.c from "w1: hold bus_mutex in netlink and search"
authorDavid Fries <David@Fries.net>
Sat, 8 Feb 2014 19:37:38 +0000 (13:37 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Feb 2014 21:30:43 +0000 (13:30 -0800)
commit7841b647b9c1b118ae4eed33a0af934818e60553
tree9227726fe93a49bdbf10d1e226c92d5e408a39aa
parentd3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c
Revert ds1wm.c from "w1: hold bus_mutex in netlink and search"

This reverts ds1wm.c from commit d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c.
Of the three files changed ds1wm.c ds2490.c and w1_netlink.c, it turns out
ds1wm.c was locking bus_mutex, but inside the loop and I missed it.
Reverting ds1wm.c to the previous version.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Fries <David@Fries.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/ds1wm.c