iio:accel: 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:07 +0000 (19:24 +0100)
commite21e254e49831075f7fb13d9dbe33defb00a3d3d
tree4984a8d9353742c28a0dc6a69f6e06f7b8c3a5e3
parent267a29b957cb28725aef7b9b2ea4c219caefb3b7
iio:accel: 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/accel/st_accel_core.c