From: David Dueck Date: Wed, 17 Sep 2014 12:26:48 +0000 (+0200) Subject: can: at91_can: add missing prepare and unprepare of the clock X-Git-Tag: v3.2.64~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51562cd4de104521223f8e4e9cbe04bef401a79f;p=pandora-kernel.git can: at91_can: add missing prepare and unprepare of the clock commit e77980e50bc2850599d4d9c0192b67a9ffd6daac upstream. In order to make the driver work with the common clock framework, this patch converts the clk_enable()/clk_disable() to clk_prepare_enable()/clk_disable_unprepare(). While there, add the missing error handling. Signed-off-by: David Dueck Signed-off-by: Anthony Harivel Acked-by: Boris Brezillon Signed-off-by: Marc Kleine-Budde Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed