diff options
author | Stephen Boyd <[email protected]> | 2016-02-08 17:45:28 -0800 |
---|---|---|
committer | Lee Jones <[email protected]> | 2016-02-11 11:03:07 +0000 |
commit | c4726abce63bf9b1887ce68fdf012a823bd94ec3 (patch) | |
tree | 2cb7f9921a87f4e1b346e57c1787ba3795e0e8f2 /tools/perf/scripts/python/syscall-counts.py | |
parent | 36f90b0a2ddd60823fe193a85e60ff1906c2a9b3 (diff) |
mfd: intel_quark_i2c_gpio: Use clkdev_create()
Convert this driver to use clkdev_create() instead of
clk_register_clkdevs(). The latter API is only used by this driver,
although this driver only allocates one clk to add anyway.
Furthermore, this driver allocates the clk_lookup structure with
devm, but clkdev_drop() will free that structure when passed,
leading to a double free when this driver is removed. Clean it
all up and pave the way for the removal of clk_register_clkdevs().
Cc: Andy Shevchenko <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions