Change-Id: I8ce31f4f16322077ab71360115a4f183ac7e1c7a
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
{
FAR struct s5j_pwmtimer_s *priv = (FAR struct s5j_pwmtimer_s *)dev;
- return s5j_configgpio(priv->pincfg);
+ VERIFY(s5j_configgpio(priv->pincfg) == OK);
+
+ return OK;
}
/****************************************************************************
s5j_pwm_stop(dev);
/* Then put the GPIO pins back to the default state */
- return s5j_unconfiggpio(priv->pincfg);
+ VERIFY(s5j_unconfiggpio(priv->pincfg) == OK);
+
+ return OK;
}
/****************************************************************************