ARM: msm: Remove custom clk_set_flags() API
Nobody is using this API upstream and it's just contributing cruft. Remove it so the MSM clock API is closer to the generic struct clock API. Acked-by: Saravana Kannan <skannan@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
This commit is contained in:

committed by
David Brown

parent
8d21415348
commit
85a7df1f85
@@ -21,11 +21,6 @@
|
||||
#include <linux/list.h>
|
||||
#include <mach/clk.h>
|
||||
|
||||
#define CLKFLAG_INVERT 0x00000001
|
||||
#define CLKFLAG_NOINVERT 0x00000002
|
||||
#define CLKFLAG_NONEST 0x00000004
|
||||
#define CLKFLAG_NORESET 0x00000008
|
||||
|
||||
#define CLK_FIRST_AVAILABLE_FLAG 0x00000100
|
||||
#define CLKFLAG_AUTO_OFF 0x00000200
|
||||
#define CLKFLAG_MIN 0x00000400
|
||||
@@ -39,7 +34,6 @@ struct clk_ops {
|
||||
int (*set_rate)(unsigned id, unsigned rate);
|
||||
int (*set_min_rate)(unsigned id, unsigned rate);
|
||||
int (*set_max_rate)(unsigned id, unsigned rate);
|
||||
int (*set_flags)(unsigned id, unsigned flags);
|
||||
unsigned (*get_rate)(unsigned id);
|
||||
unsigned (*is_enabled)(unsigned id);
|
||||
long (*round_rate)(unsigned id, unsigned rate);
|
||||
|
Reference in New Issue
Block a user