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


##########
drivers/audio/vs1053.c:
##########
@@ -934,8 +934,8 @@ static int vs1053_hardreset(FAR struct vs1053_struct_s *dev)
 
 static int vs1053_shutdown(FAR struct audio_lowerhalf_s *lower)
 {
-  FAR struct vs1053_struct_s *dev = (struct vs1053_struct_s *) lower;
-  FAR struct spi_dev_s  *spi = dev->spi;
+  FAR struct vs1053_struct_s *dev = (struct vs1053_struct_s *)lower;

Review Comment:
   Done.



##########
drivers/audio/vs1053.c:
##########
@@ -775,7 +775,7 @@ static int vs1053_configure(FAR struct audio_lowerhalf_s 
*lower,
 {
   int     ret = OK;
 #if !defined(CONFIG_AUDIO_EXCLUDE_VOLUME) || 
!defined(CONFIG_AUDIO_EXCLUDE_TONE)
-  FAR struct vs1053_struct_s *dev = (struct vs1053_struct_s *) lower;
+  FAR struct vs1053_struct_s *dev = (struct vs1053_struct_s *)lower;

Review Comment:
   Done.



##########
drivers/audio/vs1053.c:
##########
@@ -775,7 +775,7 @@ static int vs1053_configure(FAR struct audio_lowerhalf_s 
*lower,
 {
   int     ret = OK;

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