commit | 2568999835d7797afce3dcc3a3f368051ffcaf1f | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Mar 02 15:40:29 2015 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Wed May 06 11:58:57 2015 +0100 |
tree | 4725e0fc6be5cd78324f36f5af0df8c3bc511c3e | |
parent | b3d8d7e89fab374d731dfb46fe048f09766ca9c8 [diff] |
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: Russell King <rmk+kernel@arm.linux.org.uk>