Skip to content
Commit bf064c7b authored by Dwaipayan Ray's avatar Dwaipayan Ray Committed by Corey Minyard
Browse files

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: default avatarDwaipayan Ray <dwaipayanray1@gmail.com>
Message-Id: <20210730062951.84876-1-dwaipayanray1@gmail.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent ca8c1c53
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment