commit | d2fffd6c2fd60fe9ab63ef30758d9d43a5057549 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@cam.ac.uk> | Fri Oct 14 14:46:58 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Oct 17 15:34:53 2011 -0700 |
tree | 7c0178872f67c15707cd3c89f82352ba90da1d09 | |
parent | cdea0bec8d37f2943ae500512b0c178bc76de6e3 [diff] |
staging:iio: fix removal path to allow correct freeing. Fix a dumb lack of consideration of the effect of combining the iio_device_unregister and iio_free_device calls into one. There is no valid place to free some of the sysfs array elements. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>