nfc: mrvl: correct minor coding style violations

Correct block comments and usage of tab in function definition.  No
functional change.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210531073522.6720-4-krzysztof.kozlowski@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Krzysztof Kozlowski 2021-05-31 09:35:15 +02:00 committed by Jakub Kicinski
parent be3d162ad0
commit 8f99528ef5
3 changed files with 20 additions and 20 deletions

View File

@ -39,8 +39,8 @@ enum {
}; };
/* /*
** Patterns for responses * Patterns for responses
*/ */
static const uint8_t nci_pattern_core_reset_ntf[] = { static const uint8_t nci_pattern_core_reset_ntf[] = {
0x60, 0x00, 0x02, 0xA0, 0x01 0x60, 0x00, 0x02, 0xA0, 0x01

View File

@ -25,16 +25,16 @@
#define NFCMRVL_NCI_MAX_EVENT_SIZE 260 #define NFCMRVL_NCI_MAX_EVENT_SIZE 260
/* /*
** NCI FW Parmaters * NCI FW Parameters
*/ */
#define NFCMRVL_PB_BAIL_OUT 0x11 #define NFCMRVL_PB_BAIL_OUT 0x11
#define NFCMRVL_PROP_REF_CLOCK 0xF0 #define NFCMRVL_PROP_REF_CLOCK 0xF0
#define NFCMRVL_PROP_SET_HI_CONFIG 0xF1 #define NFCMRVL_PROP_SET_HI_CONFIG 0xF1
/* /*
** HCI defines * HCI defines
*/ */
#define NFCMRVL_HCI_EVENT_HEADER_SIZE 0x04 #define NFCMRVL_HCI_EVENT_HEADER_SIZE 0x04
#define NFCMRVL_HCI_EVENT_CODE 0x04 #define NFCMRVL_HCI_EVENT_CODE 0x04
@ -67,7 +67,7 @@ struct nfcmrvl_private {
bool support_fw_dnld; bool support_fw_dnld;
/* /*
** PHY related information * PHY related information
*/ */
/* PHY driver context */ /* PHY driver context */

View File

@ -18,8 +18,8 @@ static unsigned int break_control;
static int reset_n_io = -EINVAL; static int reset_n_io = -EINVAL;
/* /*
** NFCMRVL NCI OPS * NFCMRVL NCI OPS
*/ */
static int nfcmrvl_uart_nci_open(struct nfcmrvl_private *priv) static int nfcmrvl_uart_nci_open(struct nfcmrvl_private *priv)
{ {
@ -92,8 +92,8 @@ static int nfcmrvl_uart_parse_dt(struct device_node *node,
} }
/* /*
** NCI UART OPS * NCI UART OPS
*/ */
static int nfcmrvl_nci_uart_open(struct nci_uart *nu) static int nfcmrvl_nci_uart_open(struct nci_uart *nu)
{ {
@ -167,9 +167,9 @@ static void nfcmrvl_nci_uart_tx_done(struct nci_uart *nu)
return; return;
/* /*
** To ensure that if the NFCC goes in DEEP SLEEP sate we can wake him * To ensure that if the NFCC goes in DEEP SLEEP sate we can wake him
** up. we set BREAK. Once we will be ready to send again we will remove * up. we set BREAK. Once we will be ready to send again we will remove
** it. * it.
*/ */
if (priv->config.break_control && nu->tty->ops->break_ctl) { if (priv->config.break_control && nu->tty->ops->break_ctl) {
nu->tty->ops->break_ctl(nu->tty, -1); nu->tty->ops->break_ctl(nu->tty, -1);