Skip to content

Commit 8f2a4a9

Browse files
Hans Verkuilmchehab
authored andcommitted
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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 8ecbde6 commit 8f2a4a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/media/dvbdev.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ static inline void dvb_register_media_controller(struct dvb_adapter *adap,
293293
*
294294
* @adap: pointer to &struct dvb_adapter
295295
*/
296-
static inline struct media_device
297-
*dvb_get_media_controller(struct dvb_adapter *adap)
296+
static inline struct media_device *
297+
dvb_get_media_controller(struct dvb_adapter *adap)
298298
{
299299
return adap->mdev;
300300
}

0 commit comments

Comments
 (0)