staging:iio: Remove periodic RTC trigger driver
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 26 Feb 2016 09:36:36 +0000 (10:36 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 27 Feb 2016 17:18:38 +0000 (17:18 +0000)
commitc720842e363e6549c122ecdcc8dee51f54c45898
treebb68bd3cbf47eea7c33059907db6c03cb2f61466
parentf8d9d3b434cd50f7a0a3f0c383736af5e724c34c
staging:iio: Remove periodic RTC trigger driver

With the recently introduced hrtimer based trigger we have a fully
functional replacement for the RTC timer trigger that is more flexible and
has a better interface to instantiate and manage the trigger instances. The
RTC trigger timer could only be instantiated using platform devices which
makes it unsuitable for modern devicetree based platforms, while the
hrtimer trigger has a configfs based interface that allows creating and
deletion of triggers at runtime.

In addition since a few years the periodic RTC timer is internally always
emulated using a hrtimer using the hrtimer interface directly will yield
the same timing precision. So using the RTC timer won't have any advantages
on this front either.

There is also no evidence that the periodic RTC trigger is currently
actually being used on any system. So considering all this remove the
driver. Also remove the related item from the TODO list.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/TODO
drivers/staging/iio/trigger/Kconfig
drivers/staging/iio/trigger/Makefile
drivers/staging/iio/trigger/iio-trig-periodic-rtc.c [deleted file]