summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_sis.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2017-08-27 21:55:09 +0200
committerTejun Heo <tj@kernel.org>2017-08-28 19:44:24 +0200
commitbe1dc3fb290beb394551b8cee45d03e6375b28e6 (patch)
tree164340b5f6d0385abadeb1b4070efce1ed75685a /drivers/ata/sata_sis.c
parentcs5536: add support for IDE controller variant (diff)
downloadlinux-be1dc3fb290beb394551b8cee45d03e6375b28e6.tar.xz
linux-be1dc3fb290beb394551b8cee45d03e6375b28e6.zip
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/sata_sis.c')
0 files changed, 0 insertions, 0 deletions