History

mfd: Remove unused helper syscon_regmap_lookup_by_pdevname

Nobody uses the exported helper syscon_regmap_lookup_by_pdevname, to lookup a device by name. Let us remove it.

Suzuki K Poulose committed 7 years ago

Commit 29d14b61 parent 209de312 files · +0 −27Browse files

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

Unified · Split

include/linux/mfd/syscon.h+0−6
@@ -19,7 +19,6 @@ struct device_node; · 18 unmodified lines
1919 #ifdef CONFIG_MFD_SYSCON
2020 extern struct regmap *syscon_node_to_regmap(struct device_node *np);
2121 extern struct regmap *syscon_regmap_lookup_by_compatible(const char *s);
22−extern struct regmap *syscon_regmap_lookup_by_pdevname(const char *s);
2322 extern struct regmap *syscon_regmap_lookup_by_phandle(
2423 struct device_node *np,
2524 const char *property);
@@ -34,11 +33,6 @@ static inline struct regmap *syscon_regmap_lookup_by_compatible(const char *s) · 8 unmodified lines
3433 return ERR_PTR(-ENOTSUPP);
3534 }
3635
37−static inline struct regmap *syscon_regmap_lookup_by_pdevname(const char *s)
38−{
39− return ERR_PTR(-ENOTSUPP);
40−}
41−
4236 static inline struct regmap *syscon_regmap_lookup_by_phandle(
4337 struct device_node *np,
4438 const char *property)

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