diff options
author | YueHaibing <[email protected]> | 2021-05-28 18:04:03 +0800 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2021-06-02 10:21:16 +0100 |
commit | 177f30c6c1b9c016df312decd14b4fc05e7f1f45 (patch) | |
tree | 37aa1e84aaa57fcb82d079ca307cdd994407f0b9 /drivers/gpu/drm/i915/selftests/i915_request.c | |
parent | 942baad211336efefb93a8369478888ab845c450 (diff) |
drm/i915: use DEVICE_ATTR_RO macro
Use DEVICE_ATTR_RO() helper instead of plain DEVICE_ATTR(),
which makes the code a bit shorter and easier to read.
Signed-off-by: YueHaibing <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Signed-off-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_request.c')
0 files changed, 0 insertions, 0 deletions