diff options
author | Alexander Shiyan <eagle.alexander923@gmail.com> | 2023-05-05 09:12:44 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-05-09 09:23:58 +0200 |
commit | 471bcd0593706be3c0a711365b6dcd70d416ba11 (patch) | |
tree | e002142cc44a8d0cddf6aa20111af6301204c671 /include | |
parent | 3dc33b2cbd68d345587841726f3ec728d2c2bf9c (diff) | |
download | barebox-471bcd0593706be3c0a711365b6dcd70d416ba11.tar.gz |
mfd: syscon: Remove unused helper syscon_base_lookup_by_pdevname
Nobody uses the exported helper syscon_base_lookup_by_pdevname,
to lookup a syscon by device name. Let us remove it.
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Link: https://lore.barebox.org/20230505061245.463528-1-eagle.alexander923@gmail.com
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/mfd/syscon.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/mfd/syscon.h b/include/mfd/syscon.h index b47aa1e160..3ccfd7fb5b 100644 --- a/include/mfd/syscon.h +++ b/include/mfd/syscon.h @@ -17,7 +17,6 @@ #include <regmap.h> #ifdef CONFIG_MFD_SYSCON -void __iomem *syscon_base_lookup_by_pdevname(const char *s); void __iomem *syscon_base_lookup_by_phandle (struct device_node *np, const char *property); struct regmap *syscon_node_to_regmap(struct device_node *np); @@ -27,11 +26,6 @@ extern struct regmap *syscon_regmap_lookup_by_phandle( struct device_node *np, const char *property); #else -static inline void __iomem *syscon_base_lookup_by_pdevname(const char *s) -{ - return ERR_PTR(-ENOSYS); -} - static inline void __iomem *syscon_base_lookup_by_phandle (struct device_node *np, const char *property) { |