History

spi: pxa2xx: No need to keep pointer to platform device

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.

Andy Shevchenko committed 7 years ago

Commit 4f3d9571 parent e74dc5c5 files · +10 −10Browse files

Showing the changes to include/linux (1 of 5 files). Show all

Unified · Split

include/linux/pxa2xx_ssp.h+1−1
@@ -206,7 +206,7 @@ enum pxa_ssp_type { · 205 unmodified lines
206206 };
207207
208208 struct ssp_device {
209− struct platform_device *pdev;
209+ struct device *dev;
210210 struct list_head node;
211211
212212 struct clk *clk;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t