ddr: altera: Clean up rw_mgr_mem_calibrate_writes()
authorMarek Vasut <marex@denx.de>
Sat, 18 Jul 2015 05:23:25 +0000 (07:23 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:21 +0000 (14:14 +0200)
commitdb3a606158f01ff20adbc42e8d682cdfff29165a
tree7150fcc8653ac4db4e802b7b7bbff608c7b809dd
parent783fcf59bd12dc6ffd6e411dfcda387f7b7f2c72
ddr: altera: Clean up rw_mgr_mem_calibrate_writes()

Reorder the content of the function a little and fix the comments
so they at least become full sentences. Constify function args.
Fix the return value to match the common convention of 0 meaning
success.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/altera/sequencer.c