make wait_for_device_node() module function instead of class instance function and fix usage in Partitioning
Changed paths: