video: fbdev: controlfb.c: use container_of to resolve fb_info_control from fb_info
authorFabian Frederick <fabf@skynet.be>
Wed, 17 Sep 2014 19:00:16 +0000 (21:00 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 30 Sep 2014 10:06:00 +0000 (13:06 +0300)
commitc4e423239ca7cbc3133e600b61b19fb8669eec57
treecbf6098ca08d3ada3f3707d17ba86d007a200f8c
parent21f7c247035e17950f0edda2de767434f82a8886
video: fbdev: controlfb.c: use container_of to resolve fb_info_control from fb_info

Use container_of instead of casting first structure member.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/controlfb.c
This page took 0.025021 seconds and 5 git commands to generate.