diff options
| author | Dwaipayan Ray <[email protected]> | 2021-07-30 06:29:51 +0000 |
|---|---|---|
| committer | Corey Minyard <[email protected]> | 2021-08-12 19:27:52 +0000 |
| commit | bf064c7bec3bfe7e28889774dc9e0ca4f7236775 (patch) | |
| tree | 2b94ab82ef9bf6c4697ca521bf2daabcbe8916cc /fs/proc/array.c | |
| parent | ipmi: rate limit ipmi smi_event failure message (diff) | |
| download | kernel-bf064c7bec3bfe7e28889774dc9e0ca4f7236775.tar.gz kernel-bf064c7bec3bfe7e28889774dc9e0ca4f7236775.zip | |
char: ipmi: use DEVICE_ATTR helper macro
Instead of open coding DEVICE_ATTR, use the helper macro
DEVICE_ATTR_RO to replace DEVICE_ATTR with 0444 octal
permissions.
This was detected as a part of checkpatch evaluation
investigating all reports of DEVICE_ATTR_RO warning
type.
Signed-off-by: Dwaipayan Ray <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
