Skip to content

Commit

Permalink
removed the inline fn tag and toned down the tabulations a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfvak committed May 13, 2021
1 parent b03ed17 commit e893b8e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/platform/nintendo3ds/ctr_tsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct ctr_tsc {
int banksel; /* currently selected bank */
};

static inline int ctr_tsc_switch_bank(struct ctr_tsc *cdc, const u8 *bank)
static int ctr_tsc_switch_bank(struct ctr_tsc *cdc, const u8 *bank)
{
u8 banksel[2];
int err, bank_id;
Expand All @@ -40,9 +40,9 @@ static inline int ctr_tsc_switch_bank(struct ctr_tsc *cdc, const u8 *bank)
return err;
}

static inline int ctr_tsc_read(void *context,
const void *reg_buf, size_t reg_len,
void *val_buf, size_t val_len)
static int ctr_tsc_read(void *context,
const void *reg_buf, size_t reg_len,
void *val_buf, size_t val_len)
{
int err;
struct ctr_tsc *cdc = context;
Expand All @@ -57,7 +57,7 @@ static inline int ctr_tsc_read(void *context,
return spi_write_then_read(cdc->spi, reg_buf + 1, 1, val_buf, val_len);
}

static inline int ctr_tsc_write(void *context, const void *data, size_t len)
static int ctr_tsc_write(void *context, const void *data, size_t len)
{
int err;
struct ctr_tsc *cdc = context;
Expand All @@ -72,7 +72,7 @@ static inline int ctr_tsc_write(void *context, const void *data, size_t len)
return spi_write(cdc->spi, data + 1, len - 1);
}

static inline int ctr_tsc_gather_write(void *context,
static int ctr_tsc_gather_write(void *context,
const void *reg, size_t reg_len,
const void *val, size_t val_len)
{
Expand Down

0 comments on commit e893b8e

Please sign in to comment.