From: H Hartley Sweeten Date: Fri, 18 Jul 2014 20:29:53 +0000 (-0700) Subject: staging: comedi: ni_mio_common: consolidate call to ni_mseries_get_pll_parameters() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~498 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07e6b2e2a89ae6c0b61c270099fa23c06ca08ce6;p=pandora-kernel.git staging: comedi: ni_mio_common: consolidate call to ni_mseries_get_pll_parameters() All cases of the switch call ni_mseries_get_pll_parameters() with the same parameters. Move the call out of the switch. Also, move the printk from ni_mseries_get_pll_parameters() so that it can be converted into a dev_err(). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed