diff options
| author | Chris Wilson <[email protected]> | 2013-08-01 18:39:55 +0100 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2013-08-05 19:03:21 +0200 |
| commit | 2c1792a10b10e41dcf34c97304fb8f75e52e7112 (patch) | |
| tree | e1173623fc7a2fbc05e98798d06bd6ca692475b5 /include/linux/timerqueue.h | |
| parent | b3ae96a8ea1cbd0970459b6efd7ea7550fe033c6 (diff) | |
drm/i915: Tidy the macro casting by using an inline function
Some of our macros we trying to convert from an drm_device to a
drm_i915_private and then use the pointer inline. This is not only
cumbersome but prone to error. Replacing it with a typesafe function
should help catch those errors in future.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Paulo Zanoni <[email protected]>
Signed-off-by: Ben Widawsky <[email protected]>
[danvet: Squash in fixup to correctly order static vs. inline
qualifiers, static comes first. Also fix up another offender.]
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions