clk: Assign module owner of a clock being registered
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 23 Aug 2013 11:04:33 +0000 (13:04 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:44:26 +0000 (11:44 +0900)
commitdc58da84f2f7b90f8663f17ef57c819e74428423
treed6008325bacb6fe2d133c1dacdd5e9dc44a44717
parent5a283447e07161a639c97463a40c903b454cbf80
clk: Assign module owner of a clock being registered

Use dev->driver->owner as the owner module of a clock, it ensures
reference on the module is taken in the __clk_get(), __clk_put()
helpers.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
Changes since v5:
 - none.
drivers/clk/clk.c