drivers/sensor: lis2dw12: Set tap triggers only if detection is on

Set single/double tap triggers only if tap detection is enabled.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
1 file changed