]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: et131x: Use for loop to initialise contiguous registers to zero
authorMark Einon <mark.einon@gmail.com>
Wed, 20 Aug 2014 22:17:53 +0000 (23:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:33:23 +0000 (13:33 -0700)
commit6697b8705196f090dc564fd3bfca9173b30cd288
tree6d771b4ef028e645624bb84af5f2dadaf60058ae
parentbcbadc04c5eb4fa21c44d523a0d3ed0e92f6b807
staging: et131x: Use for loop to initialise contiguous registers to zero

Replace a long list of contiguous writel() calls with a for loop iterating
over the same values.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c