File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,6 @@ enum soc_type {
138
138
/**
139
139
* struct exynos_tmu_data : A structure to hold the private data of the TMU
140
140
* driver
141
- * @id: identifier of the one instance of the TMU controller.
142
141
* @base: base address of the single instance of the TMU controller.
143
142
* @base_second: base address of the common registers of the TMU controller.
144
143
* @irq: irq number of the TMU controller.
@@ -172,7 +171,6 @@ enum soc_type {
172
171
* @tmu_clear_irqs: SoC specific TMU interrupts clearing method
173
172
*/
174
173
struct exynos_tmu_data {
175
- int id ;
176
174
void __iomem * base ;
177
175
void __iomem * base_second ;
178
176
int irq ;
@@ -865,10 +863,6 @@ static int exynos_map_dt_data(struct platform_device *pdev)
865
863
if (!data || !pdev -> dev .of_node )
866
864
return - ENODEV ;
867
865
868
- data -> id = of_alias_get_id (pdev -> dev .of_node , "tmuctrl" );
869
- if (data -> id < 0 )
870
- data -> id = 0 ;
871
-
872
866
data -> irq = irq_of_parse_and_map (pdev -> dev .of_node , 0 );
873
867
if (data -> irq <= 0 ) {
874
868
dev_err (& pdev -> dev , "failed to get IRQ\n" );
You can’t perform that action at this time.
0 commit comments