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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
8ecbde62c0
commit
8f2a4a9d5f
@@ -293,8 +293,8 @@ static inline void dvb_register_media_controller(struct dvb_adapter *adap,
|
|||||||
*
|
*
|
||||||
* @adap: pointer to &struct dvb_adapter
|
* @adap: pointer to &struct dvb_adapter
|
||||||
*/
|
*/
|
||||||
static inline struct media_device
|
static inline struct media_device *
|
||||||
*dvb_get_media_controller(struct dvb_adapter *adap)
|
dvb_get_media_controller(struct dvb_adapter *adap)
|
||||||
{
|
{
|
||||||
return adap->mdev;
|
return adap->mdev;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user