clk: move clock common macros out from vendor directories
[linux-2.6-microblaze.git] / drivers / clk / zte / clk.h
index 4df0f12..f1041e3 100644 (file)
 
 #define PNAME(x) static const char *x[]
 
-#define CLK_HW_INIT(_name, _parent, _ops, _flags)                      \
-       &(struct clk_init_data) {                                       \
-               .flags          = _flags,                               \
-               .name           = _name,                                \
-               .parent_names   = (const char *[]) { _parent },         \
-               .num_parents    = 1,                                    \
-               .ops            = _ops,                                 \
-       }
-
-#define CLK_HW_INIT_PARENTS(_name, _parents, _ops, _flags)             \
-       &(struct clk_init_data) {                                       \
-               .flags          = _flags,                               \
-               .name           = _name,                                \
-               .parent_names   = _parents,                             \
-               .num_parents    = ARRAY_SIZE(_parents),                 \
-               .ops            = _ops,                                 \
-       }
-
 struct zx_pll_config {
        unsigned long rate;
        u32 cfg0;