iio:magn: 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)
commitf60b12b02ec8d9057863423c6d7b27169638e1d9
tree1fdb021fa78aba304e67a3fd60e41d5bd28f5dca
parentfb4ea1f828d515b766c081647935bad5a38e0586
iio:magn: 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/magnetometer/st_magn_core.c