summaryrefslogtreecommitdiff
path: root/crypto/drbg.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-05-20 21:57:13 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-05-28 15:11:45 +0800
commit98f481f22de235b5356f9fa94b0fcffeacc772d8 (patch)
tree4aec56e51c721799c3635605818aa805916f864f /crypto/drbg.c
parentaa22cd7f67807eb8047221e57f8a327432ab8309 (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/drbg.c')
0 files changed, 0 insertions, 0 deletions