phy: marvell: a3700: Use reg_set_indirect istead of 2 reg_sets
authorMarek BehĂșn <marek.behun@nic.cz>
Tue, 24 Apr 2018 15:21:17 +0000 (17:21 +0200)
committerStefan Roese <sr@denx.de>
Mon, 14 May 2018 08:00:15 +0000 (10:00 +0200)
commita2745c88032e27b16d0f78748175365601dd5107
treeb6c37db092b3cead73bab0a7feceffbb02ea6982
parent1a9283ace571384b60b931567b0a6055acec27cc
phy: marvell: a3700: Use reg_set_indirect istead of 2 reg_sets

Create a special function for indirect register setting,
reg_set_indirect, and use it instead of the two calls to reg_set.

Signed-off-by: Marek Behun <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/phy/marvell/comphy_a3700.c