/* lps22hh_enable_int - enable selected int pin to generate interrupt  */
static int lps22hh_enable_int(const struct device *dev, int enable)
/* lps22hh_enable_int - enable selected int pin to generate interrupt  */
static int lps22hh_enable_int(const struct device *dev, int enable)
{
	const struct lps22hh_config * const cfg = dev->config;
	stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx;
	lps22hh_pin_int_route_t int_route;
	lps22hh_pin_int_route_get(ctx, &int_route);
	int_route.drdy_pres = enable;
	return lps22hh_pin_int_route_set(ctx, &int_route);
}