diff options
author | Daniel W. S. Almeida <dwlsalmeida@gmail.com> | 2019-11-12 20:52:48 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-01-08 11:44:44 +0100 |
commit | 98b38bb4b7e3339149e52aa297c36edfd35cd8d9 (patch) | |
tree | 9dd1de26b48deac6d69046ef3650ce60665d18af | |
parent | media: dvb_dummy_fe: change printk to pr_warn (diff) | |
download | linux-98b38bb4b7e3339149e52aa297c36edfd35cd8d9.tar.xz linux-98b38bb4b7e3339149e52aa297c36edfd35cd8d9.zip |
media: as102: improve formatting
This patch fixes the following scripts/checkpatch.pl error:
ERROR: open brace '{' following function definitions go on the next line
+static int as102_fe_get_tune_settings(struct dvb_frontend *fe,
+ struct dvb_frontend_tune_settings *settings) {
Suggested-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r-- | drivers/media/dvb-frontends/as102_fe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/as102_fe.c b/drivers/media/dvb-frontends/as102_fe.c index 496ebb8176c0..bc72d954dc1f 100644 --- a/drivers/media/dvb-frontends/as102_fe.c +++ b/drivers/media/dvb-frontends/as102_fe.c @@ -290,7 +290,8 @@ static int as102_fe_get_frontend(struct dvb_frontend *fe, } static int as102_fe_get_tune_settings(struct dvb_frontend *fe, - struct dvb_frontend_tune_settings *settings) { + struct dvb_frontend_tune_settings *settings) +{ settings->min_delay_ms = 1000; |