mmi_check_dynamic_device_node() uses of_find_node_by_path() to get device node so that mmi_device_is_available() can use this node to find where is "mmi,status".but need use of_node_put() to put this node in there drivers. So move "mmi_device_is_available()" into "mmi_check_dynamic_device_node()" and put the device node at the end. Change-Id: Id42e73b844ef6928ebea673dcd7f9c57c8804f8b Reviewed-on: https://gerrit.mot.com/2271017 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Konstantin Makariev <kmakariev@motorola.com> Submit-Approved: Jira Key