diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2017-08-27 22:55:09 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-08-28 20:44:24 +0300 |
commit | be1dc3fb290beb394551b8cee45d03e6375b28e6 (patch) | |
tree | 164340b5f6d0385abadeb1b4070efce1ed75685a /drivers/ata/ahci_mtk.c | |
parent | 591b6bb605785c12a21e8b07a08a277065b655a5 (diff) | |
download | linux-be1dc3fb290beb394551b8cee45d03e6375b28e6.tar.xz |
pata_octeon_cf: use of_property_read_{bool|u32}()
The Octeon CF driver basically open-codes of_property_read_{bool|u32}()
using of_{find|get}_property() calls in its probe() method. Using the
modern DT APIs saves 2 LoCs and 16 bytes of object code (MIPS gcc 3.4.3).
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci_mtk.c')
0 files changed, 0 insertions, 0 deletions