summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-05-20 16:57:13 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-05-28 10:11:45 +0300
commit98f481f22de235b5356f9fa94b0fcffeacc772d8 (patch)
tree4aec56e51c721799c3635605818aa805916f864f /crypto
parentaa22cd7f67807eb8047221e57f8a327432ab8309 (diff)
downloadlinux-98f481f22de235b5356f9fa94b0fcffeacc772d8.tar.xz
hwrng: core - Use DEVICE_ATTR_<RW|RO> macro
Use DEVICE_ATTR_RW()/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> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions