diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-20 21:57:13 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-05-28 15:11:45 +0800 |
commit | 98f481f22de235b5356f9fa94b0fcffeacc772d8 (patch) | |
tree | 4aec56e51c721799c3635605818aa805916f864f /crypto | |
parent | aa22cd7f67807eb8047221e57f8a327432ab8309 (diff) |
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