media: dvbdev.h: keep * together with the type
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 17 Jul 2020 08:10:07 +0000 (10:10 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 12:26:25 +0000 (14:26 +0200)
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>
include/media/dvbdev.h

index 1f7b008387f88285e381e2cd7527516dea52ab72..e547cbeee43108d2254e093811e7c19f3fba38a7 100644 (file)
@@ -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;
 }