mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
tty: serial: samsung_tty: fix up minor comment formatting
Fix up some minor formatting of comment blocks to make checkpatch happier and to make things look more uniform. Cc: Kukjin Kim <kgene@kernel.org> Cc: Hyunki Koo <kkoos00@naver.com> Cc: HYUN-KI KOO <hyunki00.koo@samsung.com> Cc: Shinbeom Choi <sbeom.choi@samsung.com> Cc: Jiri Slaby <jslaby@suse.com> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Cc: linux-serial@vger.kernel.org Cc: linux-kernel@vger.kernel.org Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20191210143706.3928480-9-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
90ece856a2
commit
7c175251c1
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Ben Dooks, Copyright (c) 2003-2008 Simtec Electronics
|
* Ben Dooks, Copyright (c) 2003-2008 Simtec Electronics
|
||||||
* http://armlinux.simtec.co.uk/
|
* http://armlinux.simtec.co.uk/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Hote on 2410 error handling
|
/* Hote on 2410 error handling
|
||||||
*
|
*
|
||||||
@ -19,7 +19,7 @@
|
|||||||
* and change the policy on BREAK
|
* and change the policy on BREAK
|
||||||
*
|
*
|
||||||
* BJD, 04-Nov-2004
|
* BJD, 04-Nov-2004
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(CONFIG_SERIAL_SAMSUNG_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
|
#if defined(CONFIG_SERIAL_SAMSUNG_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
|
||||||
#define SUPPORT_SYSRQ
|
#define SUPPORT_SYSRQ
|
||||||
@ -838,7 +838,7 @@ static irqreturn_t s3c24xx_serial_tx_chars(int irq, void *id)
|
|||||||
|
|
||||||
/* if there isn't anything more to transmit, or the uart is now
|
/* if there isn't anything more to transmit, or the uart is now
|
||||||
* stopped, disable the uart and exit
|
* stopped, disable the uart and exit
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
|
if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
|
||||||
s3c24xx_serial_stop_tx(port);
|
s3c24xx_serial_stop_tx(port);
|
||||||
@ -1142,7 +1142,8 @@ static int s3c24xx_serial_startup(struct uart_port *port)
|
|||||||
ourport->tx_claimed = 1;
|
ourport->tx_claimed = 1;
|
||||||
|
|
||||||
/* the port reset code should have done the correct
|
/* the port reset code should have done the correct
|
||||||
* register setup for the port controls */
|
* register setup for the port controls
|
||||||
|
*/
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
@ -1242,7 +1243,7 @@ static void s3c24xx_serial_pm(struct uart_port *port, unsigned int level,
|
|||||||
* baud clocks (and the resultant actual baud rates) and then tries to
|
* baud clocks (and the resultant actual baud rates) and then tries to
|
||||||
* pick the closest one and select that.
|
* pick the closest one and select that.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define MAX_CLK_NAME_LENGTH 15
|
#define MAX_CLK_NAME_LENGTH 15
|
||||||
|
|
||||||
@ -1683,7 +1684,7 @@ s3c24xx_serial_ports[CONFIG_SERIAL_SAMSUNG_UARTS] = {
|
|||||||
/* s3c24xx_serial_resetport
|
/* s3c24xx_serial_resetport
|
||||||
*
|
*
|
||||||
* reset the fifos and other the settings.
|
* reset the fifos and other the settings.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void s3c24xx_serial_resetport(struct uart_port *port,
|
static void s3c24xx_serial_resetport(struct uart_port *port,
|
||||||
struct s3c2410_uartcfg *cfg)
|
struct s3c2410_uartcfg *cfg)
|
||||||
@ -1737,7 +1738,8 @@ static int s3c24xx_serial_cpufreq_transition(struct notifier_block *nb,
|
|||||||
|
|
||||||
if (val == CPUFREQ_PRECHANGE) {
|
if (val == CPUFREQ_PRECHANGE) {
|
||||||
/* we should really shut the port down whilst the
|
/* we should really shut the port down whilst the
|
||||||
* frequency change is in progress. */
|
* frequency change is in progress.
|
||||||
|
*/
|
||||||
|
|
||||||
} else if (val == CPUFREQ_POSTCHANGE) {
|
} else if (val == CPUFREQ_POSTCHANGE) {
|
||||||
struct ktermios *termios;
|
struct ktermios *termios;
|
||||||
|
Loading…
Reference in New Issue
Block a user