Skip to content
Commit 25689998 authored by Russell King's avatar Russell King
Browse files

clkdev: add clkdev_create() helper



Add a helper to allocate and add a clk_lookup structure.  This can not
only be used in several places in clkdev.c to simplify the code, but
more importantly, can be used by callers of the clkdev code to simplify
their clkdev creation and registration.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b3d8d7e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment