clk: max77686: Fix return value checking for devm_kzalloc
authorAxel Lin <axel.lin@ingics.com>
Tue, 18 Dec 2012 07:43:45 +0000 (15:43 +0800)
committerMike Turquette <mturquette@linaro.org>
Sat, 12 Jan 2013 02:55:36 +0000 (18:55 -0800)
commit9f58b9b9fe3646421d9de251a4c5eec6d299a395
tree6f5567abbc780d5eedbc10e2bf89558e6ccff38a
parentbab53301c3846ae9a5e1142dca2976f434f70481
clk: max77686: Fix return value checking for devm_kzalloc

devm_kzalloc returns NULL on failure.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-max77686.c