iio:press: 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:09 +0000 (19:24 +0100)
commit7a137c9c40784e7be0a44182ed6ebc5ea22d5ac1
tree88550d57bd53de01f80a4adb96090b8d7c385862
parentf60b12b02ec8d9057863423c6d7b27169638e1d9
iio:press: 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/pressure/st_pressure_core.c