Skip to content

Commit dbf3e78

Browse files
author
Phil Edworthy
committed
cosmetic: Remove trailing whitespace
1 parent 5327c78 commit dbf3e78

File tree

6 files changed

+13
-15
lines changed

6 files changed

+13
-15
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ Commandline tool
6767
----------------
6868

6969
Usage: uiomux <command>
70-
70+
7171
uiomux is a tool for querying UIO and managing the UIOMux state.
72-
72+
7373
Reporting:
7474
query List available UIO device names that can be managed by UIOMux.
7575
info Show memory layout of each UIO device managed by UIOMux.
7676
meminfo Show memory allocations of each UIO device managed by UIOMux.
77-
77+
7878
Management:
7979
reset Reset the UIOMux system. This initializes the UIOMux shared state,
8080
including all shared mutexes, and scans UIO memory maps.

include/uiomux/arch_sh.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/** \file
2424
* UIOMux resource identifiers for SuperH Mobile.
25-
*
25+
*
2626
* IP blocks are accessed by symbolic name.
2727
*/
2828

include/uiomux/resource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/** \file
2424
* UIOMux resource type.
25-
*
25+
*
2626
* IP blocks are accessed by symbolic name.
2727
* This file includes architecture-specific resource names.
2828
*/

include/uiomux/system.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@ uiomux_system_destroy (UIOMux * uiomux);
6060
#endif
6161

6262
#endif /* __UIOMUX_SYSTEM_H__ */
63-

include/uiomux/uiomux.h

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ extern "C" {
3838
* containing mutexes for each managed resource. This segment and its mutexes
3939
* are shared amongst all processes and threads on the system, to provide
4040
* system-wide locking. In this way, libuiomux can be used to manage
41-
* contention across multiple simultaneous processes and threads.
41+
* contention across multiple simultaneous processes and threads.
4242
*
4343
* UIOMux allows simultaneous locking of access to multiple resources, with
4444
* deterministic locking and unlocking order to avoid circular waiting.
@@ -55,9 +55,9 @@ extern "C" {
5555
* of similar processors. An application can fall back to software if a
5656
* required hardware resource is not available, or disable relevant
5757
* funtionality at runtime.
58-
*
58+
*
5959
* \subsection contents Contents
60-
*
60+
*
6161
* - \link uiomux.h uiomux.h \endlink:
6262
* Documentation of the UIOMux C API
6363
*
@@ -66,7 +66,7 @@ extern "C" {
6666
*
6767
* - \link building Building \endlink:
6868
* Building applications against libuiomux
69-
*
69+
*
7070
*/
7171

7272
/** \defgroup configuration Configuration
@@ -128,7 +128,7 @@ extern "C" {
128128
* \section query Query
129129
*
130130
* At any time, an application may retrieve a printable name for a resource
131-
* by calling uiomux_name().
131+
* by calling uiomux_name().
132132
* To query which resources are available on the running system, call
133133
* uiomux_query().
134134
*
@@ -199,7 +199,7 @@ uiomux_meminfo (UIOMux * uiomux);
199199

200200
/**
201201
* Create a new UIOMux object,
202-
*
202+
*
203203
* \retval NULL on system error; check errno for details.
204204
*/
205205
UIOMux *
@@ -443,4 +443,3 @@ uiomux_unregister (void *virt);
443443
#endif
444444

445445
#endif /* __UIOMUX_H__ */
446-

src/tests/timeout.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ main() {
3939
unsigned long veu_phys_memory_base;
4040
int i;
4141
struct timeval tval;
42-
42+
4343
tval.tv_sec = 5;
4444
tval.tv_usec = 0;
4545

@@ -48,7 +48,7 @@ main() {
4848

4949
if (uiomux == NULL)
5050
FAIL ("Opening UIOMux");
51-
51+
5252
INFO ("uiomux_sleep-ing with a timeout of 5 secs");
5353
if (uiomux_sleep_timeout(uiomux, UIOMUX_SH_VEU, &tval) < 0) {
5454
INFO ("Woken up after timeout (or other error)");

0 commit comments

Comments
 (0)