summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-07-17 00:45:11 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:14 +0200
commit880e46f2d33c382a1acb449e277cf4f535b5c62a (patch)
treec24bbf8504ba886e8b5ac6b8cf816ede2851a0fb /scripts/checkpatch.pl
parentd32badbd80e7089e4d240501d0a6bc36a4f03ed3 (diff)
ddr: altera: Rework initialize_tracking()
Clean the function up by getting rid of all the insane XOR-leftshift combos when assembling register values. While at it, remove all the ad-hoc variables necessary for this XOR-leftshift voodoo. Finally, get rid of the iterative division implementation of two constants and replace it with a DIV_ROUND_UP() macro :-) Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions