]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iio: example code is buggy
authorAlan <gnomes@lxorguk.ukuu.org.uk>
Wed, 8 Apr 2015 19:24:43 +0000 (20:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 14:57:32 +0000 (16:57 +0200)
commitaeda3b2d4a6760bda799feeaac391a7bdcdbbdb5
tree337d4142077d7339c13191b90aa9996628b29ab5
parent94361655442effc78904039cb051228b3228e4cb
iio: example code is buggy

Shock horror, example template code that has never been used in reality is
in fact a hazard. This fixes the obvious bug, probably these kind of
"examples" should be deleted so real (working) examples are followed.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/iio_simple_dummy_events.c