commit | 98f481f22de235b5356f9fa94b0fcffeacc772d8 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Thu May 20 21:57:13 2021 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri May 28 15:11:45 2021 +0800 |
tree | 4aec56e51c721799c3635605818aa805916f864f | |
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>