int reset_control_status(struct reset_control *rstc);
 
 struct reset_control *__of_reset_control_get(struct device_node *node,
-                                    const char *id, int index, int shared);
+                                    const char *id, int index, bool shared);
 void reset_control_put(struct reset_control *rstc);
 struct reset_control *__devm_reset_control_get(struct device *dev,
-                                    const char *id, int index, int shared);
+                                    const char *id, int index, bool shared);
 
 int __must_check device_reset(struct device *dev);
 
 
 static inline struct reset_control *__of_reset_control_get(
                                        struct device_node *node,
-                                       const char *id, int index, int shared)
+                                       const char *id, int index, bool shared)
 {
        return ERR_PTR(-ENOTSUPP);
 }
 
 static inline struct reset_control *__devm_reset_control_get(
                                        struct device *dev,
-                                       const char *id, int index, int shared)
+                                       const char *id, int index, bool shared)
 {
        return ERR_PTR(-ENOTSUPP);
 }
 static inline struct reset_control *reset_control_get_shared(
                                        struct device *dev, const char *id)
 {
-       return __of_reset_control_get(dev ? dev->of_node : NULL, id, 0, 1);
+       return __of_reset_control_get(dev ? dev->of_node : NULL, id, 0, true);
 }
 
 static inline struct reset_control *reset_control_get_optional_exclusive(
                                        struct device *dev, const char *id)
 {
-       return __of_reset_control_get(dev ? dev->of_node : NULL, id, 0, 0);
+       return __of_reset_control_get(dev ? dev->of_node : NULL, id, 0, false);
 }
 
 static inline struct reset_control *reset_control_get_optional_shared(
                                        struct device *dev, const char *id)
 {
-       return __of_reset_control_get(dev ? dev->of_node : NULL, id, 0, 1);
+       return __of_reset_control_get(dev ? dev->of_node : NULL, id, 0, true);
 }
 
 /**
 static inline struct reset_control *of_reset_control_get_shared(
                                struct device_node *node, const char *id)
 {
-       return __of_reset_control_get(node, id, 0, 1);
+       return __of_reset_control_get(node, id, 0, true);
 }
 
 /**
 static inline struct reset_control *of_reset_control_get_exclusive_by_index(
                                        struct device_node *node, int index)
 {
-       return __of_reset_control_get(node, NULL, index, 0);
+       return __of_reset_control_get(node, NULL, index, false);
 }
 
 /**
 static inline struct reset_control *of_reset_control_get_shared_by_index(
                                        struct device_node *node, int index)
 {
-       return __of_reset_control_get(node, NULL, index, 1);
+       return __of_reset_control_get(node, NULL, index, true);
 }
 
 /**
 #ifndef CONFIG_RESET_CONTROLLER
        WARN_ON(1);
 #endif
-       return __devm_reset_control_get(dev, id, 0, 0);
+       return __devm_reset_control_get(dev, id, 0, false);
 }
 
 /**
 static inline struct reset_control *devm_reset_control_get_shared(
                                        struct device *dev, const char *id)
 {
-       return __devm_reset_control_get(dev, id, 0, 1);
+       return __devm_reset_control_get(dev, id, 0, true);
 }
 
 static inline struct reset_control *devm_reset_control_get_optional_exclusive(
                                        struct device *dev, const char *id)
 {
-       return __devm_reset_control_get(dev, id, 0, 0);
+       return __devm_reset_control_get(dev, id, 0, false);
 }
 
 static inline struct reset_control *devm_reset_control_get_optional_shared(
                                        struct device *dev, const char *id)
 {
-       return __devm_reset_control_get(dev, id, 0, 1);
+       return __devm_reset_control_get(dev, id, 0, true);
 }
 
 /**
 static inline struct reset_control *
 devm_reset_control_get_exclusive_by_index(struct device *dev, int index)
 {
-       return __devm_reset_control_get(dev, NULL, index, 0);
+       return __devm_reset_control_get(dev, NULL, index, false);
 }
 
 /**
 static inline struct reset_control *
 devm_reset_control_get_shared_by_index(struct device *dev, int index)
 {
-       return __devm_reset_control_get(dev, NULL, index, 1);
+       return __devm_reset_control_get(dev, NULL, index, true);
 }
 
 /*