[AMD Official Use Only - General] > Add a missing call to of_node_put(np) on error. > > There was a second error path where "np" was NULL, but that situation is > impossible. The for_each_compatible_node() loop iterator is always > non-NULL. Just deleted that error path. > > Fixes: 54b406e10f03 ("cdx: Remove cdx controller list from cdx bus system") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- Acked-by: Abhijit Gangurde <abhijit.gangurde@xxxxxxx> Thanks, Abhijit