df1560ddfa487f3 parent 08cd9ef4eca0b53cdae190b718e4945408c7d3b8 author Jonathan Cameron 1329335280 +0000 committer Greg Kroah-Hartman 1330114202 -0800 staging:iio:core set the iio_dev.info pointer to null on unregister under lock. This prevents use of provider callbacks after it has been unregistered. Note that all code using this that can be called from a consumer *must* check the pointer before using and hold the info_exist_lock throughout the usage of the callbacks in info. Signed-off-by: Jonathan Cameron Acked-by: Linus Walleij Signed-off-by: Greg Kroah-Hartman å‚úÓ›6x