diff options
| author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2019-06-14 13:53:57 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-23 23:22:30 -0400 |
| commit | 29d14b668d2f2e7b692525ee3f69bf12b06be0f0 (patch) | |
| tree | a7b329dfe67d9481f160bbbbdc7c70d1cb8aba3a /include/linux/mfd | |
| parent | 209de31034522fae53f789f52c9461c557011d70 (diff) | |
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.
Suggested-by: Arnd Bergman <arnd@arnd.de>
Cc: Arnd Bergman <arnd@arnd.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/syscon.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mfd/syscon.h b/include/linux/mfd/syscon.h index f0273c9e972b..8cfda0554381 100644 --- a/include/linux/mfd/syscon.h +++ b/include/linux/mfd/syscon.h | |||
| @@ -19,7 +19,6 @@ struct device_node; | |||
| 19 | #ifdef CONFIG_MFD_SYSCON | 19 | #ifdef CONFIG_MFD_SYSCON |
| 20 | extern struct regmap *syscon_node_to_regmap(struct device_node *np); | 20 | extern struct regmap *syscon_node_to_regmap(struct device_node *np); |
| 21 | extern struct regmap *syscon_regmap_lookup_by_compatible(const char *s); | 21 | extern struct regmap *syscon_regmap_lookup_by_compatible(const char *s); |
| 22 | extern struct regmap *syscon_regmap_lookup_by_pdevname(const char *s); | ||
| 23 | extern struct regmap *syscon_regmap_lookup_by_phandle( | 22 | extern struct regmap *syscon_regmap_lookup_by_phandle( |
| 24 | struct device_node *np, | 23 | struct device_node *np, |
| 25 | const char *property); | 24 | const char *property); |
| @@ -34,11 +33,6 @@ static inline struct regmap *syscon_regmap_lookup_by_compatible(const char *s) | |||
| 34 | return ERR_PTR(-ENOTSUPP); | 33 | return ERR_PTR(-ENOTSUPP); |
| 35 | } | 34 | } |
| 36 | 35 | ||
| 37 | static inline struct regmap *syscon_regmap_lookup_by_pdevname(const char *s) | ||
| 38 | { | ||
| 39 | return ERR_PTR(-ENOTSUPP); | ||
| 40 | } | ||
| 41 | |||
| 42 | static inline struct regmap *syscon_regmap_lookup_by_phandle( | 36 | static inline struct regmap *syscon_regmap_lookup_by_phandle( |
| 43 | struct device_node *np, | 37 | struct device_node *np, |
| 44 | const char *property) | 38 | const char *property) |
