From: Laurent Pinchart Date: Thu, 28 Nov 2013 01:39:43 +0000 (+0100) Subject: spi: sh-msiof: Convert to clk_prepare/unprepare X-Git-Tag: v3.14-rc1~91^2~3^6~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c32d29f13e9f7b94e0e82bf3ed7a1cf6b0c0dd3;p=pandora-kernel.git spi: sh-msiof: Convert to clk_prepare/unprepare Get the driver ready for the migration to the common clock framework by calling clk_prepare() and clk_unprepare(). The calls are added in the probe and remove handlers as the clk_enable() and clk_disable() calls are located in atomic context and there's no callback function in non-atomic context that can be used to prepare/unprepare the clock. Signed-off-by: Laurent Pinchart Signed-off-by: Mark Brown --- Reading git-diff-tree failed