1
0
Fork 0

Staging: media: mn88473: Match alignment with open parenthesis

Fixes the checkpatch.pl Check:
CHECK: Alignment should match open parenthesis

Increases readability by standardizing 7 argument indentations

Signed-off-by: Katie Dunne <kdunne@mail.ccsf.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
wifi-calibration
Katie Dunne 2015-02-18 18:05:40 -08:00 committed by Greg Kroah-Hartman
parent b856e0f7b2
commit b4c2c314c1
1 changed files with 14 additions and 10 deletions

View File

@ -17,7 +17,7 @@
#include "mn88473_priv.h"
static int mn88473_get_tune_settings(struct dvb_frontend *fe,
struct dvb_frontend_tune_settings *s)
struct dvb_frontend_tune_settings *s)
{
s->min_delay_ms = 1000;
return 0;
@ -33,10 +33,14 @@ static int mn88473_set_frontend(struct dvb_frontend *fe)
u8 delivery_system_val, if_val[3], bw_val[7];
dev_dbg(&client->dev,
"delivery_system=%u modulation=%u frequency=%u bandwidth_hz=%u symbol_rate=%u inversion=%d stream_id=%d\n",
c->delivery_system, c->modulation,
c->frequency, c->bandwidth_hz, c->symbol_rate,
c->inversion, c->stream_id);
"delivery_system=%u modulation=%u frequency=%u bandwidth_hz=%u symbol_rate=%u inversion=%d stream_id=%d\n",
c->delivery_system,
c->modulation,
c->frequency,
c->bandwidth_hz,
c->symbol_rate,
c->inversion,
c->stream_id);
if (!dev->warm) {
ret = -EAGAIN;
@ -112,7 +116,7 @@ static int mn88473_set_frontend(struct dvb_frontend *fe)
break;
default:
dev_err(&client->dev, "IF frequency %d not supported\n",
if_frequency);
if_frequency);
ret = -EINVAL;
goto err;
}
@ -229,7 +233,7 @@ static int mn88473_init(struct dvb_frontend *fe)
}
dev_info(&client->dev, "downloading firmware from file '%s'\n",
fw_file);
fw_file);
ret = regmap_write(dev->regmap[0], 0xf5, 0x03);
if (ret)
@ -242,10 +246,10 @@ static int mn88473_init(struct dvb_frontend *fe)
len = (dev->i2c_wr_max - 1);
ret = regmap_bulk_write(dev->regmap[0], 0xf6,
&fw->data[fw->size - remaining], len);
&fw->data[fw->size - remaining], len);
if (ret) {
dev_err(&client->dev, "firmware download failed=%d\n",
ret);
ret);
goto err;
}
}
@ -325,7 +329,7 @@ static struct dvb_frontend_ops mn88473_ops = {
};
static int mn88473_probe(struct i2c_client *client,
const struct i2c_device_id *id)
const struct i2c_device_id *id)
{
struct mn88473_config *config = client->dev.platform_data;
struct mn88473_dev *dev;