Skip to content

Commit c38f45e

Browse files
Jiri Slaby (SUSE)gregkh
authored andcommitted
tty: stop using ndash in kernel-doc
An ndash used instead of a single dash renders a bullet to the result. So use only single dashes in kernel-doc. Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 71067fb commit c38f45e

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

drivers/tty/tty_io.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3300,7 +3300,7 @@ void tty_unregister_device(struct tty_driver *driver, unsigned index)
33003300
EXPORT_SYMBOL(tty_unregister_device);
33013301

33023302
/**
3303-
* __tty_alloc_driver -- allocate tty driver
3303+
* __tty_alloc_driver - allocate tty driver
33043304
* @lines: count of lines this driver can handle at most
33053305
* @owner: module which is responsible for this driver
33063306
* @flags: some of %TTY_DRIVER_ flags, will be set in driver->flags
@@ -3393,7 +3393,7 @@ static void destruct_tty_driver(struct kref *kref)
33933393
}
33943394

33953395
/**
3396-
* tty_driver_kref_put -- drop a reference to a tty driver
3396+
* tty_driver_kref_put - drop a reference to a tty driver
33973397
* @driver: driver of which to drop the reference
33983398
*
33993399
* The final put will destroy and free up the driver.
@@ -3405,7 +3405,7 @@ void tty_driver_kref_put(struct tty_driver *driver)
34053405
EXPORT_SYMBOL(tty_driver_kref_put);
34063406

34073407
/**
3408-
* tty_register_driver -- register a tty driver
3408+
* tty_register_driver - register a tty driver
34093409
* @driver: driver to register
34103410
*
34113411
* Called by a tty driver to register itself.
@@ -3470,7 +3470,7 @@ int tty_register_driver(struct tty_driver *driver)
34703470
EXPORT_SYMBOL(tty_register_driver);
34713471

34723472
/**
3473-
* tty_unregister_driver -- unregister a tty driver
3473+
* tty_unregister_driver - unregister a tty driver
34743474
* @driver: driver to unregister
34753475
*
34763476
* Called by a tty driver to unregister itself.

drivers/tty/tty_port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const struct tty_port_client_operations tty_port_default_client_ops = {
7979
EXPORT_SYMBOL_GPL(tty_port_default_client_ops);
8080

8181
/**
82-
* tty_port_init -- initialize tty_port
82+
* tty_port_init - initialize tty_port
8383
* @port: tty_port to initialize
8484
*
8585
* Initializes the state of struct tty_port. When a port was initialized using
@@ -267,7 +267,7 @@ void tty_port_free_xmit_buf(struct tty_port *port)
267267
EXPORT_SYMBOL(tty_port_free_xmit_buf);
268268

269269
/**
270-
* tty_port_destroy -- destroy inited port
270+
* tty_port_destroy - destroy inited port
271271
* @port: tty port to be destroyed
272272
*
273273
* When a port was initialized using tty_port_init(), one has to destroy the
@@ -297,7 +297,7 @@ static void tty_port_destructor(struct kref *kref)
297297
}
298298

299299
/**
300-
* tty_port_put -- drop a reference to tty_port
300+
* tty_port_put - drop a reference to tty_port
301301
* @port: port to drop a reference of (can be NULL)
302302
*
303303
* The final put will destroy and free up the @port using

drivers/tty/vt/consolemap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ static enum translation_map inv_translate[MAX_NR_CONSOLES];
205205
FIELD_PREP(UNI_GLYPH_BITS, (glyph)))
206206

207207
/**
208-
* struct uni_pagedict -- unicode directory
208+
* struct uni_pagedict - unicode directory
209209
*
210210
* @uni_pgdir: 32*32*64 table with glyphs
211211
* @refcount: reference count of this structure

drivers/tty/vt/vc_screen.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ vcs_poll_data_get(struct file *file)
174174
}
175175

176176
/**
177-
* vcs_vc -- return VC for @inode
177+
* vcs_vc - return VC for @inode
178178
* @inode: inode for which to return a VC
179179
* @viewed: returns whether this console is currently foreground (viewed)
180180
*
@@ -199,7 +199,7 @@ static struct vc_data *vcs_vc(struct inode *inode, bool *viewed)
199199
}
200200

201201
/**
202-
* vcs_size -- return size for a VC in @vc
202+
* vcs_size - return size for a VC in @vc
203203
* @vc: which VC
204204
* @attr: does it use attributes?
205205
* @unicode: is it unicode?

drivers/tty/vt/vt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2588,7 +2588,7 @@ static inline int vc_translate_ascii(const struct vc_data *vc, int c)
25882588

25892589

25902590
/**
2591-
* vc_sanitize_unicode -- Replace invalid Unicode code points with U+FFFD
2591+
* vc_sanitize_unicode - Replace invalid Unicode code points with U+FFFD
25922592
* @c: the received character, or U+FFFD for invalid sequences.
25932593
*/
25942594
static inline int vc_sanitize_unicode(const int c)
@@ -2600,7 +2600,7 @@ static inline int vc_sanitize_unicode(const int c)
26002600
}
26012601

26022602
/**
2603-
* vc_translate_unicode -- Combine UTF-8 into Unicode in @vc_utf_char
2603+
* vc_translate_unicode - Combine UTF-8 into Unicode in @vc_utf_char
26042604
* @vc: virtual console
26052605
* @c: character to translate
26062606
* @rescan: we return true if we need more (continuation) data

0 commit comments

Comments
 (0)