From 36f54e280fa0041d2b353d8f4bf4dfb82ebc8fec Mon Sep 17 00:00:00 2001 From: Ouss4 Date: Fri, 5 Jun 2020 18:41:58 +0100 Subject: [PATCH] Fix PR1201 nxstyle issues. --- boards/arm/stm32/olimex-stm32-p407/src/stm32_cs4344.c | 9 +++++---- drivers/audio/cs4344.c | 8 ++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/boards/arm/stm32/olimex-stm32-p407/src/stm32_cs4344.c b/boards/arm/stm32/olimex-stm32-p407/src/stm32_cs4344.c index 9ddac4439b..51ea0d1995 100644 --- a/boards/arm/stm32/olimex-stm32-p407/src/stm32_cs4344.c +++ b/boards/arm/stm32/olimex-stm32-p407/src/stm32_cs4344.c @@ -95,10 +95,11 @@ int stm32_cs4344_initialize(int minor) audinfo("minor %d\n", minor); DEBUGASSERT(minor >= 0 && minor <= 25); - /* Have we already initialized? Since we never uninitialize we must prevent - * multiple initializations. This is necessary, for example, when the - * touchscreen example is used as a built-in application in NSH and can be - * called numerous time. It will attempt to initialize each time. + /* Have we already initialized? Since we never uninitialize we must + * prevent multiple initializations. This is necessary, for example, + * when the touchscreen example is used as a built-in application in + * NSH and can be called numerous time. It will attempt to initialize + * each time. */ if (!initialized) diff --git a/drivers/audio/cs4344.c b/drivers/audio/cs4344.c index 0c2619b578..907ef4c7c1 100644 --- a/drivers/audio/cs4344.c +++ b/drivers/audio/cs4344.c @@ -146,13 +146,13 @@ static const struct audio_ops_s g_audioops = cs4344_pause, /* pause */ cs4344_resume, /* resume */ #endif - NULL, /* allocbuffer */ - NULL, /* freebuffer */ + NULL, /* allocbuffer */ + NULL, /* freebuffer */ cs4344_enqueuebuffer, /* enqueue_buffer */ cs4344_cancelbuffer, /* cancel_buffer */ cs4344_ioctl, /* ioctl */ - NULL, /* read */ - NULL, /* write */ + NULL, /* read */ + NULL, /* write */ cs4344_reserve, /* reserve */ cs4344_release /* release */ };