i2c: mpc: Use of_property_read_reg() to parse "reg"
authorRob Herring <robh@kernel.org>
Fri, 9 Jun 2023 18:30:44 +0000 (12:30 -0600)
committerWolfram Sang <wsa@kernel.org>
Wed, 14 Jun 2023 08:36:33 +0000 (10:36 +0200)
commit9d178e00583ee803dd48ec60916c64b87f5449e7
treeda3362d42a93da4b0bb134ec1cf50d1dc05fcbfe
parentc21a17b5ce6e1a2e8de2f027a9a98db3cb96c428
i2c: mpc: 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>
Acked-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mpc.c