iio:gyro: Register buffer also without specific trigger
authorDenis CIOCCA <denis.ciocca@st.com>
Wed, 18 Sep 2013 09:00:00 +0000 (10:00 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 21 Sep 2013 18:24:08 +0000 (19:24 +0100)
commitfb4ea1f828d515b766c081647935bad5a38e0586
tree130a3069d2d9a617a657c33da2f07615f40ec6d0
parente21e254e49831075f7fb13d9dbe33defb00a3d3d
iio:gyro: Register buffer also without specific trigger

This patch fix buffer registration that allows to use generic IIO trigger.

Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/gyro/st_gyro_core.c