clk: samsung: remove np check in clock init

A patch from »clk: samsung: small fixes and enhancements« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Sun, 10 Mar 2013 13:12:53 +0100

Commit-Message

This let to the suspend init never being reached on non-DT platforms. Signed-off-by: Heiko Stueber <heiko@...>

Patch-Comment

drivers/clk/samsung/clk.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)

Statistics

  • 0 lines added
  • 2 lines removed

Changes

-------------------------- drivers/clk/samsung/clk.c ---------------------------
index d36cdd5..1a5de69 100644
@@ -57,8 +57,6 @@ void __init samsung_clk_init(struct device_node *np, void __iomem *base,
unsigned long nr_rdump)
{
reg_base = base;
- if (!np)
- return;
#ifdef CONFIG_OF
clk_table = kzalloc(sizeof(struct clk *) * nr_clks, GFP_KERNEL);
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...