sh: fix a kfree address in clkdev code
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 17 Sep 2010 09:25:10 +0000 (09:25 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 30 Sep 2010 00:43:32 +0000 (09:43 +0900)
kfree() in clkdev_drop() function should actually be called with an address of
a struct clk_lookup_alloc object, and not struct clk_lookup, as presently done.
This just happens to work, because "struct clk_lookup cl" is the first
member in struct clk_lookup_alloc.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found