ata: Use of_property_read_reg() to parse "reg"
authorRob Herring <robh@kernel.org>
Fri, 9 Jun 2023 18:31:25 +0000 (12:31 -0600)
committerDamien Le Moal <dlemoal@kernel.org>
Tue, 13 Jun 2023 06:38:48 +0000 (15:38 +0900)
commitd0b2461678b12c08d43eaf6740485e2f2c3aeac6
tree2d0b38c67da8477c58636f8d024086b440c8ffa8
parent43cff7d94370c35ad7d96c9764b3b12f7735e6cc
ata: Use of_property_read_reg() to parse "reg"

Use the recently added of_property_read_reg() helper to get the
untranslated "reg" address value.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/pata_octeon_cf.c
drivers/ata/sata_svw.c