From: Tomasz Figa Date: Thu, 6 Feb 2014 18:33:11 +0000 (+0100) Subject: clk: samsung: Initialize clock table with error pointers X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~44^2~7^2~4^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91a1263fd2bab8704fa0a940c1ab6b813143ecc4;p=pandora-kernel.git clk: samsung: Initialize clock table with error pointers Before this patch, the driver was simply zeroing the clock table, which is incorrect, because invalid clock numbers returned NULL instead of error pointers. This patch fixes this by changing the driver to initialize the array with PTR_ERR(-ENOENT). Signed-off-by: Tomasz Figa Acked-by: Kyungmin Park --- Reading git-diff-tree failed