summaryrefslogtreecommitdiff
path: root/crypto/crypto_null.c
diff options
context:
space:
mode:
authorLianjie Zhang <zhanglianjie@uniontech.com>2022-03-10 17:38:30 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-03-10 21:55:05 +0300
commit85750bcd480c74b13661ee2c9db49de500fd2823 (patch)
treea4cec5a7419b18b557b6f5bdad3d7c75724b87ad /crypto/crypto_null.c
parent075c3c483c86aaeadbfdb56ff0ffa67abe582eca (diff)
downloadlinux-85750bcd480c74b13661ee2c9db49de500fd2823.tar.xz
cpufreq: unify show() and store() naming and use __ATTR_XX
Usually, sysfs attributes have .show and .store and their naming convention is filename_show() and filename_store(). But in cpufreq the naming convention of these functions is show_filename() and store_filename() which prevents __ATTR_RW() and __ATTR_RO() from being used in there to simplify code. Accordingly, change the naming convention of the sysfs .show and .store methods in cpufreq to follow the one expected by __ATTR_RW() and __ATTR_RO() and use these macros in that code. Signed-off-by: Lianjie Zhang <zhanglianjie@uniontech.com> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'crypto/crypto_null.c')
0 files changed, 0 insertions, 0 deletions