diff options
author | Uwe Kleine-König <[email protected]> | 2023-07-21 23:21:33 +0200 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2023-07-25 15:31:34 +0200 |
commit | b364f3cd879888191290cabd8981b0e6bb3a6fdb (patch) | |
tree | 06375f8c77cce881a2e1b67b33bcfd5202cc55c6 /scripts/generate_rust_analyzer.py | |
parent | e91a777a6e602ba0e3366e053e4e094a334a1244 (diff) |
drm/i915: Simplify expression &to_i915(dev)->drm
to_i915 is defined as
container_of(dev, struct drm_i915_private, drm);
So for a struct drm_device *dev, to_i915(dev)->drm is just dev. Simplify
accordingly.
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions