Skip to content

Commit

Permalink
ASoC: soc-cache: Fix indentation issues
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Dimitris Papastamos authored and Mark Brown committed Mar 30, 2011
1 parent 2c66cb9 commit fbda182
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions sound/soc/soc-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ static unsigned int do_hw_read(struct snd_soc_codec *codec, unsigned int reg)
}

static unsigned int snd_soc_4_12_read(struct snd_soc_codec *codec,
unsigned int reg)
unsigned int reg)
{
return do_hw_read(codec, reg);
}

static int snd_soc_4_12_write(struct snd_soc_codec *codec, unsigned int reg,
unsigned int value)
unsigned int value)
{
u8 data[2];

Expand All @@ -111,7 +111,7 @@ static int snd_soc_4_12_write(struct snd_soc_codec *codec, unsigned int reg,

#if defined(CONFIG_SPI_MASTER)
static int snd_soc_4_12_spi_write(void *control_data, const char *data,
int len)
int len)
{
u8 msg[2];

Expand Down Expand Up @@ -209,7 +209,7 @@ static unsigned int snd_soc_8_16_read(struct snd_soc_codec *codec,

#if defined(CONFIG_SPI_MASTER)
static int snd_soc_8_16_spi_write(void *control_data, const char *data,
int len)
int len)
{
u8 msg[3];

Expand Down Expand Up @@ -257,7 +257,7 @@ static unsigned int do_i2c_read(struct snd_soc_codec *codec,

#if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) && defined(MODULE))
static unsigned int snd_soc_8_8_read_i2c(struct snd_soc_codec *codec,
unsigned int r)
unsigned int r)
{
u8 reg = r;
u8 data;
Expand Down Expand Up @@ -307,13 +307,13 @@ static unsigned int snd_soc_16_8_read_i2c(struct snd_soc_codec *codec,
#endif

static unsigned int snd_soc_16_8_read(struct snd_soc_codec *codec,
unsigned int reg)
unsigned int reg)
{
return do_hw_read(codec, reg);
}

static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg,
unsigned int value)
unsigned int value)
{
u8 data[3];

Expand All @@ -327,7 +327,7 @@ static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg,

#if defined(CONFIG_SPI_MASTER)
static int snd_soc_16_8_spi_write(void *control_data, const char *data,
int len)
int len)
{
u8 msg[3];

Expand Down Expand Up @@ -379,7 +379,7 @@ static int snd_soc_16_16_write(struct snd_soc_codec *codec, unsigned int reg,

#if defined(CONFIG_SPI_MASTER)
static int snd_soc_16_16_spi_write(void *control_data, const char *data,
int len)
int len)
{
u8 msg[4];

Expand Down

0 comments on commit fbda182

Please sign in to comment.