All users of class_find_device_by_of_node() have been converted to using class_find_device_by_fwnode(). Remove the former. Signed-off-by: Dmitry Torokhov --- include/linux/device/class.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/linux/device/class.h b/include/linux/device/class.h index 2079239a5aa5..e6ad009ce70b 100644 --- a/include/linux/device/class.h +++ b/include/linux/device/class.h @@ -107,18 +107,6 @@ static inline struct device *class_find_device_by_name(const struct class *class return class_find_device(class, NULL, name, device_match_name); } -/** - * class_find_device_by_of_node : device iterator for locating a particular device - * matching the of_node. - * @class: class type - * @np: of_node of the device to match. - */ -static inline struct device *class_find_device_by_of_node(const struct class *class, - const struct device_node *np) -{ - return class_find_device(class, NULL, np, device_match_of_node); -} - /** * class_find_device_by_fwnode : device iterator for locating a particular device * matching the fwnode. -- 2.53.0.959.g497ff81fa9-goog