diff options
Diffstat (limited to 'include/linux/mfd/syscon.h')
| -rw-r--r-- | include/linux/mfd/syscon.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/mfd/syscon.h b/include/linux/mfd/syscon.h index 75e543b78f53..1088149be0c9 100644 --- a/include/linux/mfd/syscon.h +++ b/include/linux/mfd/syscon.h | |||
| @@ -29,24 +29,24 @@ extern struct regmap *syscon_regmap_lookup_by_phandle( | |||
| 29 | #else | 29 | #else |
| 30 | static inline struct regmap *syscon_node_to_regmap(struct device_node *np) | 30 | static inline struct regmap *syscon_node_to_regmap(struct device_node *np) |
| 31 | { | 31 | { |
| 32 | return ERR_PTR(-ENOSYS); | 32 | return ERR_PTR(-ENOTSUPP); |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | static inline struct regmap *syscon_regmap_lookup_by_compatible(const char *s) | 35 | static inline struct regmap *syscon_regmap_lookup_by_compatible(const char *s) |
| 36 | { | 36 | { |
| 37 | return ERR_PTR(-ENOSYS); | 37 | return ERR_PTR(-ENOTSUPP); |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | static inline struct regmap *syscon_regmap_lookup_by_pdevname(const char *s) | 40 | static inline struct regmap *syscon_regmap_lookup_by_pdevname(const char *s) |
| 41 | { | 41 | { |
| 42 | return ERR_PTR(-ENOSYS); | 42 | return ERR_PTR(-ENOTSUPP); |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | static inline struct regmap *syscon_regmap_lookup_by_phandle( | 45 | static inline struct regmap *syscon_regmap_lookup_by_phandle( |
| 46 | struct device_node *np, | 46 | struct device_node *np, |
| 47 | const char *property) | 47 | const char *property) |
| 48 | { | 48 | { |
| 49 | return ERR_PTR(-ENOSYS); | 49 | return ERR_PTR(-ENOTSUPP); |
| 50 | } | 50 | } |
| 51 | #endif | 51 | #endif |
| 52 | 52 | ||
