]> git.karo-electronics.de Git - linux-beck.git/commit
sata_rcar: add 'base' local variable to some functions
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 27 May 2013 22:46:41 +0000 (02:46 +0400)
committerTejun Heo <tj@kernel.org>
Tue, 28 May 2013 00:18:08 +0000 (09:18 +0900)
commit1b20f6a9adaa4b88d520d279c3d605f65b898625
tree18e531d81727e66be43139fe771d584de6f426dd
parent8bfbeed58665dbbf63813017712bd0c8e978379e
sata_rcar: add 'base' local variable to some functions

The 'base' field of 'struct sata_rcar_priv' is used very often
throughout the driver, so it seems worth loading it into a local
variable if it's used more than once in a function.

While at it, put some unitialized variables after intialized ones for
aesthetic reasons. :-)

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_rcar.c