commit | e1b1fa66a0398f0b52ae79a2bdc7de87c205d074 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Sat Jun 29 22:20:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Wed Jul 03 20:48:53 2013 +0100 |
tree | b40a32ce62bd667e33d83cd66da131fe0364eb11 | |
parent | f91d1b63a4e096d3023aaaafec9d9d3aff25997f [diff] |
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 <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>