]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:21 +0000 (08:17 +0200)
commit80e1073c36e6e2fb46a1dcce8f2e0b3d94932495
tree5aedf9ecb7770b347c4fd064f243049c748df7c3
parentf30b298b7571c554e8381d61afe1593f80b1f46e
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