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: NDenis Ciocca <denis.ciocca@st.com> Reported-by: NRandy Dunlap <rdunlap@infradead.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录