diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2020-07-17 10:10:07 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-19 14:26:25 +0200 |
commit | 8f2a4a9d5ff5202d0b3e3a144ebb9b67aabadd29 (patch) | |
tree | 26ae712dda101f8a8c69fa60abe3b3b131d7e1ec /include/media | |
parent | 8ecbde62c063d7d499144d3491496383a16de7f2 (diff) | |
download | linux-8f2a4a9d5ff5202d0b3e3a144ebb9b67aabadd29.tar.bz2 |
media: dvbdev.h: keep * together with the type
Having the '*' in the next line separated from the type makes it
hard to see that these functions return a pointer to that type.
Instead, keep it next to the type name so it is clear that it is
a pointer to that type.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/dvbdev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/dvbdev.h b/include/media/dvbdev.h index 1f7b008387f8..e547cbeee431 100644 --- a/include/media/dvbdev.h +++ b/include/media/dvbdev.h @@ -293,8 +293,8 @@ static inline void dvb_register_media_controller(struct dvb_adapter *adap, * * @adap: pointer to &struct dvb_adapter */ -static inline struct media_device -*dvb_get_media_controller(struct dvb_adapter *adap) +static inline struct media_device * +dvb_get_media_controller(struct dvb_adapter *adap) { return adap->mdev; } |