From: Marek Vasut Date: Sat, 29 Jun 2013 21:20:00 +0000 (+0100) Subject: iio: mxs-lradc: Fix misuse of iio->trig X-Git-Tag: v3.11-rc2~3^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1b1fa66a0398f0b52ae79a2bdc7de87c205d074;p=pandora-kernel.git iio: mxs-lradc: Fix misuse of iio->trig The struct iio_dev .trig field is to be used only by the IIO core, the driver shall not fill this field. This fixes ugly crash when the driver is compiled as a module and the module is rmmod'd. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Jonathan Cameron Cc: Shawn Guo Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed