Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp2554081imc; Sat, 23 Feb 2019 06:02:06 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia2sO77hUx7ozplw/toO0CnCMbQAXqUMbdlu5nli+A6dHayTxBS+Ylk92rcCMD1+xgsnsR8 X-Received: by 2002:a62:e0ca:: with SMTP id d71mr9486904pfm.62.1550930525937; Sat, 23 Feb 2019 06:02:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550930525; cv=none; d=google.com; s=arc-20160816; b=aYSmV4qP/FfJuJ1lFGclj/zJ1lWfIa/ihfw80HMvjNk6p4wUC9CkioOCaRvyLSiImh yBTseyK2n9PX9ZbVu/CQ6hb+8zZkQuXkDUl1NQ8meAZpmrojPir17Yl+86hwbPv452b2 xVJSzcpNIJQZikNRWyqz2UQ2WTV+qDVpNClUX6Or1Qt0+Q+63qLsiY9tLoX1M7tIIVlp UDkr59pV35brSuYbs4b+VLgq2YED/MXrw+DMhV3FBusZwMA66o2iML8BkIH6XEtAEVY6 97maMNTjuIn5Oi7mBEmcJJxGeVLlCSbuEDwtPatn1pwyOQ5DXVggwb1ta1kEKuHgCFtc PesA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=h67q9fteBo+G+7n0crThidtvcwJS0UQl49OJAl3WGwc=; b=M23fVXONheDbQcgEaoTTpvnHckOLk0AQsCJloGmi59wkNkyJ4NuPCuPl6sT51i1R09 NVXBafCA5TdlXJgf6u17bBVugvkybdYwEPREfFOtjEVQbXLYOAlPiV3yFwztmm9X7mLZ EbntwGApPmDeCncc0TbE8NimKqbVLumySYTJO+8Mzg531CvqKM+pobQYn6CGty6ztPsf R6COfS849w3OwfP3WINeMggp3LA02v/oGcLVk4s2nHMZqHnNzP3sCVi4qcItrU/HNPta tLd3bGV2ZqjabFnegVaqGCEWNHwk2e7+CqTtNbDRnco6VxqBSQkIVpZCE9moRpd21DgP Dg2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z18si3937292pgf.66.2019.02.23.06.01.50; Sat, 23 Feb 2019 06:02:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727927AbfBWN6s (ORCPT + 99 others); Sat, 23 Feb 2019 08:58:48 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:17528 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727687AbfBWN6s (ORCPT ); Sat, 23 Feb 2019 08:58:48 -0500 X-IronPort-AV: E=Sophos;i="5.58,403,1544482800"; d="scan'208";a="370609499" Received: from palace.lip6.fr ([132.227.105.202]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-SHA256; 23 Feb 2019 14:58:43 +0100 From: Julia Lawall To: linux-amlogic@lists.infradead.org Cc: kernel-janitors@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-crypto@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 00/12] add missing of_node_put after of_device_is_available Date: Sat, 23 Feb 2019 14:20:31 +0100 Message-Id: <1550928043-14889-1-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Failure of of_device_is_available implies that the device node should be put, if it is not used otherwise. --- arch/arm/mach-omap2/display.c | 4 +++- arch/powerpc/platforms/83xx/usb.c | 4 +++- drivers/bus/arm-cci.c | 4 +++- drivers/cpufreq/armada-8k-cpufreq.c | 4 +++- drivers/crypto/amcc/crypto4xx_trng.c | 4 +++- drivers/firmware/psci.c | 4 +++- drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c | 4 +++- drivers/gpu/drm/tegra/rgb.c | 4 +++- drivers/phy/tegra/xusb.c | 4 +++- drivers/soc/amlogic/meson-gx-socinfo.c | 4 +++- drivers/tee/optee/core.c | 4 +++- drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c | 4 +++- 12 files changed, 36 insertions(+), 12 deletions(-)