From: Lars-Peter Clausen Date: Sat, 21 Sep 2013 15:21:00 +0000 (+0100) Subject: iio: Remove debugfs entries in iio_device_unregister() X-Git-Tag: v3.12-rc4~8^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc4c9612922524ce3eba64c5e7d6323f8e174ca1;p=pandora-kernel.git iio: Remove debugfs entries in iio_device_unregister() Remove the the debugfs entries in iio_device_unregister(). Otherwise the debugfs entries might still be accessible even though the device used in the debugfs callback has already been freed. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed