From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: usb: host: tegra: avoid direct dereference of phy->dev.of_node Date: Tue, 05 May 2026 10:35:04 +1000 Message-ID: In-Reply-To: <20260430110652.558622-14-vladimir.oltean@nxp.com> References: <20260430110652.558622-1-vladimir.oltean@nxp.com> <20260430110652.558622-14-vladimir.oltean@nxp.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review Replaces `phy->dev.of_node` usage in `tegra_xusb_init_usb_phy()` with OF phandle lookups. The driver was using the OF node to call `devm_usb_get_phy_by_node()` during a USB PHY transition period. Also replaces `dev_dbg(..., "%pOF", tegra->phys[i]->dev.of_node)` with a simpler `dev_dbg(..., "PHY %d", i)`. The new code correctly uses `of_parse_phandle_with_args()` and simplifies the error handling. No issues. --- Generated by Claude Code Patch Reviewer