From: Magnus Damm Date: Fri, 14 Dec 2012 05:53:41 +0000 (+0900) Subject: clocksource: sh_cmt: Initialize 'max_match_value' and 'lock' in sh_cmt_setup() X-Git-Tag: omap-for-v3.10/fixes-for-merge-window~7^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44a10f943f59339f1206d599d4269a35995e397e;p=pandora-kernel.git clocksource: sh_cmt: Initialize 'max_match_value' and 'lock' in sh_cmt_setup() Move the setup of spinlock and max_match_value to sh_cmt_setup(). There's no need to defer those steps until sh_cmt_register(). Signed-off-by: Shinya Kuribayashi Signed-off-by: Magnus Damm Acked-by: John Stultz Tested-by: Guennadi Liakhovetski Signed-off-by: Simon Horman --- Reading git-diff-tree failed