From: H Hartley Sweeten Date: Tue, 11 Sep 2012 17:48:47 +0000 (-0700) Subject: staging: comedi: adl_pci9111: remove extra i8253_cascade_ns_to_timer_2div() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~357 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=499a76dc830d32fa8a0c56360b89d4596789f85e;p=pandora-kernel.git staging: comedi: adl_pci9111: remove extra i8253_cascade_ns_to_timer_2div() The comedi core always calls the 'do_cmdtest' function before it calls the 'do_cmd' function. The 'do_cmdtest' for this driver calls i8253_cascade_ns_to_timer_2div() to validate the cmd->convert_arg. This call sets the dev_private 'div1' and 'div2' values needed to program the 8254 timer. There is no need to call the i8253 function a second time in the do_cmd function. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed