commit | 4c62c595c2a23fb36a0b901b550115370047a137 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Fri Sep 17 09:25:10 2010 +0000 |
committer | Paul Mundt <lethal@linux-sh.org> | Thu Sep 30 09:43:32 2010 +0900 |
tree | 534a2e47822d68f2b07b3b880c7f821760595d29 | |
parent | 3f224f4e057ce67713f3e7a8890f2fbe12d047a5 [diff] |
sh: fix a kfree address in clkdev code 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>