arm: socfpga: scan: Zap redundant params in scan_mgr_io_scan_chain_prg()
authorMarek Vasut <marex@denx.de>
Sat, 25 Jul 2015 07:36:54 +0000 (09:36 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:07 +0000 (14:14 +0200)
commit03a92b215f0b63e89cbdeab2fcb8badce9f9d2ba
treec1f21dfe7d273f29fcbc9d272e1009759e9a9f16
parent2df7b2aadf375fc3d2f336fab8eb41556b997567
arm: socfpga: scan: Zap redundant params in scan_mgr_io_scan_chain_prg()

It is sufficient to pass in the scan chain ID into the function to determine
the remaining two parameters, so drop those params and determine them locally
in the function. The big-ish switch in the function is temporary and will be
replaced by a proper function call in subsequent patch.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/mach-socfpga/scan_manager.c