There is no need to keep a pointer to the platform device. Currently there are no users of it directly, and if there will be in the future we may restore it from pointer to the struct device. Convert all users at the same time.
Showing the changes to include/linux (1 of 5 files). Show all
Unified · Split
| @@ -206,7 +206,7 @@ enum pxa_ssp_type { · 205 unmodified lines | ||
| 206 | 206 | }; |
| 207 | 207 | |
| 208 | 208 | struct ssp_device { |
| 209 | − struct platform_device *pdev; | |
| 209 | + struct device *dev; | |
| 210 | 210 | struct list_head node; |
| 211 | 211 | |
| 212 | 212 | struct clk *clk; |