From: H Hartley Sweeten Date: Wed, 19 Sep 2012 22:12:33 +0000 (-0700) Subject: staging: comedi: s526: cleanup s526_gpct_winsn() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c813bb100431eff1f78d75682ae1fe2d30744b4;p=pandora-kernel.git staging: comedi: s526: cleanup s526_gpct_winsn() Use a local variable for the iobase of the channel being written. This makes the outw() calls a bit cleaner. Rearrange the switch () so that the actual write to the device can be common regardless of the gpct configuration. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed