File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -77,26 +77,9 @@ static void twl6032_clks_unprepare(struct clk_hw *hw)
77
77
dev_err (cinfo -> dev , "clk unprepare failed\n" );
78
78
}
79
79
80
- static int twl6032_clks_is_prepared (struct clk_hw * hw )
81
- {
82
- struct twl_clock_info * cinfo = to_twl_clks_info (hw );
83
- int val ;
84
-
85
- val = twlclk_read (cinfo , TWL_MODULE_PM_RECEIVER , VREG_STATE );
86
- if (val < 0 ) {
87
- dev_err (cinfo -> dev , "clk read failed\n" );
88
- return val ;
89
- }
90
-
91
- val &= TWL6030_CFG_STATE_MASK ;
92
-
93
- return val == TWL6030_CFG_STATE_ON ;
94
- }
95
-
96
80
static const struct clk_ops twl6032_clks_ops = {
97
81
.prepare = twl6032_clks_prepare ,
98
82
.unprepare = twl6032_clks_unprepare ,
99
- .is_prepared = twl6032_clks_is_prepared ,
100
83
.recalc_rate = twl_clks_recalc_rate ,
101
84
};
102
85
You can’t perform that action at this time.
0 commit comments