From: Oliver Hartkopp Date: Fri, 28 Feb 2014 15:36:22 +0000 (+0100) Subject: can: provide a separate bittiming_const parameter to bittiming functions X-Git-Tag: v3.15-rc1~113^2~206^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08da7da41ea490eab08ad9e2674e3b92d6aa2b07;p=pandora-kernel.git can: provide a separate bittiming_const parameter to bittiming functions As the bittiming calculation functions are to be used with different bittiming_const structures for CAN and CAN FD the direct reference to priv->bittiming_const inside these functions has to be removed. Also moved the check for existing bittiming const to one place. Signed-off-by: Oliver Hartkopp Acked-by: Stephane Grosjean Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed