clk: samsung: Remove useless check for return value of samsung_clk_init
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 9 May 2016 17:32:31 +0000 (19:32 +0200)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 2 Jun 2016 09:17:57 +0000 (11:17 +0200)
commitdfb86ade53a94963eafe0d78360616faa90cde3b
tree37885b0a7dfc6f46d6ae85fcd2df174b1c1835d4
parent9da752f0e37022e40de8f00891be958d351f4526
clk: samsung: Remove useless check for return value of samsung_clk_init

The samsung_clk_init() cannot return NULL. Either it returns allocated
memory or it panics.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/clk/samsung/clk-exynos4.c
drivers/clk/samsung/clk-exynos5250.c
drivers/clk/samsung/clk-exynos5420.c
drivers/clk/samsung/clk-exynos5440.c
drivers/clk/samsung/clk-s3c2410.c
drivers/clk/samsung/clk-s3c2412.c
drivers/clk/samsung/clk-s3c2443.c
drivers/clk/samsung/clk-s3c64xx.c
drivers/clk/samsung/clk-s5pv210.c