ihs_mdio: Use new regmap interface
authorMario Six <mario.six@gdsys.cc>
Mon, 28 Jan 2019 08:49:33 +0000 (09:49 +0100)
committerMario Six <mario.six@gdsys.cc>
Tue, 21 May 2019 05:52:34 +0000 (07:52 +0200)
commite29dfce06cddc9cbc67f69c4a2fa9732caf73b26
treea15684ea7357a10ca2e3a2ef10b6a63424ff74f3
parent935a89241c97cdd671326c98c43f3833dba96a5b
ihs_mdio: Use new regmap interface

For the DM case, use the proper parameter for the regmap_init_mem call
(which is the ofnode, not the udevice).

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/gdsys/common/ihs_mdio.c