reset: socfpga: no need to store modrst_offset
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 4 Jul 2016 17:47:56 +0000 (19:47 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 8 Aug 2016 17:23:32 +0000 (19:23 +0200)
commit6b37d3e956a43dba0d340fd112df185b7516fc66
treef39761d1ec03ee17a987d50cf9ed1de47160793a
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
reset: socfpga: no need to store modrst_offset

Since we can just add it to membase once, there is no need to store
modrst_offset separately, and to repeat the addition with every access.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Dinh Nguyen <dinguyen@opensource.altera.com>
drivers/reset/reset-socfpga.c