iio:common: added allocate and deallocate trigger functions when trigger is disabled.
authorDenis CIOCCA <denis.ciocca@st.com>
Thu, 7 Feb 2013 09:46:00 +0000 (09:46 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 9 Feb 2013 10:44:44 +0000 (10:44 +0000)
commit91ffbabfd9ae6b9bfef02bb1e0fbba451c7289a7
tree1317b513b114e77ef48f2509b21917c183407f0f
parent5aa57f0a655276f62683c0cc714cd6328d98e08a
iio:common: added allocate and deallocate trigger functions when trigger is disabled.

This patch resolve a bugfix when driver is compiled without trigger.

Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
include/linux/iio/common/st_sensors.h