summaryrefslogtreecommitdiffstats
path: root/ipc/msgutil.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2012-12-14 06:53:41 +0100
committerSimon Horman <horms+renesas@verge.net.au>2013-03-12 18:24:36 +0100
commit44a10f943f59339f1206d599d4269a35995e397e (patch)
treee1c93f550d7bd1d4a022de10c2519babb7b57ee8 /ipc/msgutil.c
parentclocksource: sh_cmt: Take care of clk_put() when setup_irq() fails (diff)
downloadlinux-44a10f943f59339f1206d599d4269a35995e397e.tar.xz
linux-44a10f943f59339f1206d599d4269a35995e397e.zip
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 <shinya.kuribayashi.px@renesas.com> Signed-off-by: Magnus Damm <damm@opensource.se> Acked-by: John Stultz <john.stultz@linaro.org> Tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions