xiaoxiang781216 commented on code in PR #6965:
URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r989231703


##########
drivers/sensors/lps25h.c:
##########
@@ -708,31 +709,31 @@ static int lps25h_ioctl(FAR struct file *filep, int cmd, 
unsigned long arg)
       break;
 
     case SNIOC_PRESSURE_OUT:
-      ret = lps25h_read_pressure(dev, (lps25h_pressure_data_t *) arg);
+      ret = lps25h_read_pressure(dev, (lps25h_pressure_data_t *)arg);
       break;
 
     case SNIOC_TEMPERATURE_OUT:
       /* NOTE: call SNIOC_PRESSURE_OUT before this one,
        * or results are bogus.
        */
 
-      ret = lps25h_read_temper(dev, (lps25h_temper_data_t *) arg);
+      ret = lps25h_read_temper(dev, (lps25h_temper_data_t *)arg);
       break;
 
     case SNIOC_SENSOR_OFF:
       ret = lps25h_power_on_off(dev, false);
       break;
 
     case SNIOC_GET_DEV_ID:
-      ret = lps25h_who_am_i(dev, (lps25h_who_am_i_data *) arg);
+      ret = lps25h_who_am_i(dev, (lps25h_who_am_i_data *)arg);

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to