]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/reset.h
Merge tag 'nfsd-4.8' of git://linux-nfs.org/~bfields/linux
[karo-tx-linux.git] / include / linux / reset.h
index 45a4abeb6acba0193fffd134176a956950b53a4a..5daff15722d3b027579e803baa452eb2f5df9cb4 100644 (file)
@@ -71,14 +71,14 @@ static inline struct reset_control *__of_reset_control_get(
                                        struct device_node *node,
                                        const char *id, int index, int shared)
 {
-       return ERR_PTR(-EINVAL);
+       return ERR_PTR(-ENOTSUPP);
 }
 
 static inline struct reset_control *__devm_reset_control_get(
                                        struct device *dev,
                                        const char *id, int index, int shared)
 {
-       return ERR_PTR(-EINVAL);
+       return ERR_PTR(-ENOTSUPP);
 }
 
 #endif /* CONFIG_RESET_CONTROLLER */