commit | 6cb2afd7c0abb93bd9dc6d36b858b1e312e2407d | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Thu Jan 31 21:43:00 2013 +0000 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Feb 02 12:02:20 2013 +0000 |
tree | 3abec8f4f092e6e594f4ce57069987c5618f67ff | |
parent | ca7d98dbd7db6aa8bc4b08e26be1249436d21af3 [diff] |
iio: Simplify iio_map_array_unregister API Instead of requiring the map to unregister, simply unregister all map entries associated with the given iio device. This simplifies map removal and also works for maps generated through devicetree. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>