mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
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:
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
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user