commit | b82c1f8f78b4d273d1bcefe3e805eff61e879a68 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Tue Jul 03 09:50:15 2018 +0200 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Sat Jul 07 07:51:19 2018 +0200 |
tree | d20bc6cab499daa98b5f59b1a755073f6ed2ffaa | |
parent | 73915b2b1f2581cbce5a511550c2cac2e2b42595 [diff] |
drm/atomic: Avoid connector to writeback_connector casts Use container_of() instead of type casting so that it keeps working even if base is moved inside the drm_writeback_connector struct. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Liviu Dudau <liviu.dudau@arm.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20180703075022.15138-2-boris.brezillon@bootlin.com