diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-28 18:04:03 +0800 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2021-06-02 10:21:16 +0100 |
commit | 177f30c6c1b9c016df312decd14b4fc05e7f1f45 (patch) | |
tree | 37aa1e84aaa57fcb82d079ca307cdd994407f0b9 /drivers/gpu/drm/i915/intel_pch.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 <yuehaibing@huawei.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210528100403.21548-1-yuehaibing@huawei.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pch.c')
0 files changed, 0 insertions, 0 deletions