Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/audio Whitespace



details:   https://anonhg.NetBSD.org/src/rev/9e8b0255844a
branches:  trunk
changeset: 374444:9e8b0255844a
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Apr 23 06:30:58 2023 +0000

description:
Whitespace

diffstat:

 sys/dev/audio/audio.c |  30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diffs (51 lines):

diff -r 6465b875fd0f -r 9e8b0255844a sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c     Sun Apr 23 06:28:34 2023 +0000
+++ b/sys/dev/audio/audio.c     Sun Apr 23 06:30:58 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.138 2023/04/23 06:28:34 mlelstv Exp $      */
+/*     $NetBSD: audio.c,v 1.139 2023/04/23 06:30:58 mlelstv Exp $      */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -181,7 +181,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.138 2023/04/23 06:28:34 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.139 2023/04/23 06:30:58 mlelstv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -1190,19 +1190,19 @@ bad:
 static int
 audio_properties(struct audio_softc *sc)
 {
-       prop_dictionary_t dict = device_properties(sc->sc_dev);
-       audio_device_t adev;
-       int error;
-
-       error = sc->hw_if->getdev(sc->hw_hdl, &adev);
-       if (error)
-              return error;
-
-       prop_dictionary_set_string(dict, "name", adev.name);
-       prop_dictionary_set_string(dict, "version", adev.version);
-       prop_dictionary_set_string(dict, "config", adev.config);
-
-       return 0;
+       prop_dictionary_t dict = device_properties(sc->sc_dev);
+       audio_device_t adev;
+       int error;
+
+       error = sc->hw_if->getdev(sc->hw_hdl, &adev);
+       if (error)
+               return error;
+
+       prop_dictionary_set_string(dict, "name", adev.name);
+       prop_dictionary_set_string(dict, "version", adev.version);
+       prop_dictionary_set_string(dict, "config", adev.config);
+
+       return 0;
 }
 
 /*



Home | Main Index | Thread Index | Old Index