serial: uartps: Do not add a trailing semicolon to macro
This patch fixes this checkpatch warning:
WARNING: macros should not use a trailing semicolon
+#define to_cdns_uart(_nb) container_of(_nb, struct cdns_uart, \
+ clk_rate_change_nb);
Fixes: d9bb3fb126
("tty: xuartps: Rebrand driver as Cadence UART")
Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a53f82d6cc
commit
7be7a0145f
|
@ -201,7 +201,7 @@ struct cdns_platform_data {
|
|||
u32 quirks;
|
||||
};
|
||||
#define to_cdns_uart(_nb) container_of(_nb, struct cdns_uart, \
|
||||
clk_rate_change_nb);
|
||||
clk_rate_change_nb)
|
||||
|
||||
/**
|
||||
* cdns_uart_handle_rx - Handle the received bytes along with Rx errors.
|
||||
|
|
Loading…
Reference in New Issue