pata_octeon_cf: use of_property_read_{bool|u32}()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 27 Aug 2017 19:55:09 +0000 (22:55 +0300)
committerTejun Heo <tj@kernel.org>
Mon, 28 Aug 2017 17:44:24 +0000 (10:44 -0700)
commitbe1dc3fb290beb394551b8cee45d03e6375b28e6
tree164340b5f6d0385abadeb1b4070efce1ed75685a
parent591b6bb605785c12a21e8b07a08a277065b655a5
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>
drivers/ata/pata_octeon_cf.c