From nobody Sun Jun 14 03:54:23 2026 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7E62212548; Mon, 4 May 2026 07:01:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777878065; cv=none; b=IG5WjmHSI24Ej8Qzesgmn3qHb+VgswxomN6d3JVTKd9Cpz0cXWKhtiebqDsHkXovwOPwWaH2UyQyo8IFGAYW3qFqxSPUcgJCMCuY90SPaua6d3W7SxtddR5pGEeG1t+aMd/KAGNJ3h/VeWTa75YV+dykokvRUzTUZVw66zRmK/Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777878065; c=relaxed/simple; bh=harktBiFvTyW0eTdv1xyo3FFw2GjXWrmry91+uh1PuI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=a3pCOyFedebXfBL5OLTotOcGZgvFZnue7khYG+dD5DV6htkWNpIvJ8io/v3zFGHb/IpViAdECWWbyEbyt6UPwJdBXNUtTor4M8tfi0QQx5btdIFb4Wc/YczjUL3i6lC2iV0CyRqRBtoBTSDKAx1qoAsAPfVVfhjphKC8EPjXrvw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=hmo6VIYL; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hmo6VIYL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1777878063; x=1809414063; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=harktBiFvTyW0eTdv1xyo3FFw2GjXWrmry91+uh1PuI=; b=hmo6VIYLI2Te1GnohVafxlYjeu1jGae4857SlXeLACy/RGeq4KW11j23 xyB0Gtm4UdvvkXmtXbQY8Pkpvo2zRP943DS09sp7vpA4Mlrw/jX0Z0poM FA/8YmSMsw2nm2jPPMjI+S+xmv0Q3Dmt0jTnVgadkkV3HnhaGhvzZyBsr IMRhse4lLVUmTRPhR4dP1BFSP0tLop++mEzt0U+1M2xYdt5/RFSZpsLmT jqrp/wEE3AjzF4+x8aRIfwOF67JGyPsxxDpl+qfYOhPlK7Il0ZBkL1P9i SpUmjPHS7jLEUpCBvEam0b8PTAqZRkfN1lOFQRhBP3snYrkYfAJVM/N4P Q==; X-CSE-ConnectionGUID: RC5rnzcfR7iR4Wuw30cmPg== X-CSE-MsgGUID: LHwIj/kxSB2VDwTekPoeow== X-IronPort-AV: E=McAfee;i="6800,10657,11775"; a="82582130" X-IronPort-AV: E=Sophos;i="6.23,215,1770624000"; d="scan'208";a="82582130" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2026 00:01:01 -0700 X-CSE-ConnectionGUID: RfbcWwxES5KS/ONOQj+NLw== X-CSE-MsgGUID: 8uILAxpDToSZGx7mwtktIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,215,1770624000"; d="scan'208";a="239409101" Received: from black.igk.intel.com ([10.91.253.5]) by orviesa003.jf.intel.com with ESMTP; 04 May 2026 00:00:59 -0700 Received: by black.igk.intel.com (Postfix, from userid 1003) id 3526099; Mon, 04 May 2026 09:00:58 +0200 (CEST) From: Andy Shevchenko To: Peng Fan , linux-can@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marc Kleine-Budde , Vincent Mailhol , Vinod Koul , Neil Armstrong , Josua Mayer , Ulf Hansson , Andy Shevchenko Subject: [PATCH v3 1/4] phy: phy-can-transceiver: use device_get_match_data() Date: Mon, 4 May 2026 08:58:52 +0200 Message-ID: <20260504070054.29508-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260504070054.29508-1-andriy.shevchenko@linux.intel.com> References: <20260504070054.29508-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Use the generic firmware node interface for retrieving device match data instead of the OF-specific one. While at it, drop unneeded argument to devm_phy_create() which extracts device node from the given device by default. Reviewed-by: Josua Mayer Signed-off-by: Andy Shevchenko --- drivers/phy/phy-can-transceiver.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/phy/phy-can-transceiver.c b/drivers/phy/phy-can-transc= eiver.c index 2b52e47f247a..80eece74f77d 100644 --- a/drivers/phy/phy-can-transceiver.c +++ b/drivers/phy/phy-can-transceiver.c @@ -5,9 +5,9 @@ * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com * */ -#include #include #include +#include #include #include #include @@ -152,7 +152,6 @@ static int can_transceiver_phy_probe(struct platform_de= vice *pdev) struct can_transceiver_phy *can_transceiver_phy; struct can_transceiver_priv *priv; const struct can_transceiver_data *drvdata; - const struct of_device_id *match; struct phy *phy; struct gpio_desc *silent_gpio; struct gpio_desc *standby_gpio; @@ -161,8 +160,7 @@ static int can_transceiver_phy_probe(struct platform_de= vice *pdev) u32 max_bitrate =3D 0; int err, i, num_ch =3D 1; =20 - match =3D of_match_node(can_transceiver_phy_ids, pdev->dev.of_node); - drvdata =3D match->data; + drvdata =3D device_get_match_data(dev); if (drvdata->flags & CAN_TRANSCEIVER_DUAL_CH) num_ch =3D 2; =20 @@ -187,7 +185,7 @@ static int can_transceiver_phy_probe(struct platform_de= vice *pdev) can_transceiver_phy =3D &priv->can_transceiver_phy[i]; can_transceiver_phy->priv =3D priv; =20 - phy =3D devm_phy_create(dev, dev->of_node, &can_transceiver_phy_ops); + phy =3D devm_phy_create(dev, NULL, &can_transceiver_phy_ops); if (IS_ERR(phy)) { dev_err(dev, "failed to create can transceiver phy\n"); return PTR_ERR(phy); --=20 2.50.1 From nobody Sun Jun 14 03:54:23 2026 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36EF22BEC2A; Mon, 4 May 2026 07:01:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777878065; cv=none; b=AawYNXA46ryTr20+YsEv0s++eBGF4ZjQ0lpunqd6OGdFkOB4Sf3ENKviwnN3QSozlPDY2w48V9eXHxZiTIk40ctkgnR3Mre06o8vKhhe6PHsYXZs1Ujk8WHk+lPbldJV88s7KC6nGv2cnuzqm7BQ5fYQgJpBTDP/s+yVl60sGig= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777878065; c=relaxed/simple; bh=8vqSmnbDPc6RNbm1wm/YJrqYsV6ZrW7K+gliVr83sP0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=s9yMq4CEYbBWDR91PnPjVOzB6V783DVhejPtDALqwk02DUeUNRnbCFDR01MacO+CDTDOPt9kJuIzzA9gSJ4vE23bwuoNwMyDOaH1q+VTEba9+kCRS6CzW56Q1UksGgqI+ORHEBvoXUuYIpwgkl5B0+wESPpk4NIoOJIKrA1Xpm4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=VJhhpIYV; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="VJhhpIYV" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1777878064; x=1809414064; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8vqSmnbDPc6RNbm1wm/YJrqYsV6ZrW7K+gliVr83sP0=; b=VJhhpIYVTHZzDWTm4ICz6MGgkWr9Gul3Y4XvGAibP+dCmooB7swTqbrV 4gvnjID29OWD2BepvT5YK+W94piQiywrUAkSbYMX8WQJYyPLzi5xOakzK wNHNt8fqeOrps5ptb8Kq/n29e05GFxcyvn8R86QfdU0ujeouE2KR047v2 FwhUUROsXKcb5fcKf1OM5+sDfTETWsnTYyd5ny0N5iE3Gz/yVF1tmTqSK 8he91iGqo8D+GaWtnRzIT1AcIsNnGxjsS1D7tiLlWtytb4+3VzuZUh78z ieD84v+d+erhP77yXLI+AIIewiW3XhKzURhnBOBOyFVCIf/BzFUMkNWp7 Q==; X-CSE-ConnectionGUID: Ee3ypKw8T1up5NJqd0pciQ== X-CSE-MsgGUID: a3DfWG0LR0y9OpCtIfXBwA== X-IronPort-AV: E=McAfee;i="6800,10657,11775"; a="82582137" X-IronPort-AV: E=Sophos;i="6.23,215,1770624000"; d="scan'208";a="82582137" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2026 00:01:01 -0700 X-CSE-ConnectionGUID: xL2nn0JPTWSFgT+BHhjrMg== X-CSE-MsgGUID: RQ/fE0cWT52+FW0Qf1PzJQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,215,1770624000"; d="scan'208";a="239409102" Received: from black.igk.intel.com ([10.91.253.5]) by orviesa003.jf.intel.com with ESMTP; 04 May 2026 00:00:59 -0700 Received: by black.igk.intel.com (Postfix, from userid 1003) id 39AB49B; Mon, 04 May 2026 09:00:58 +0200 (CEST) From: Andy Shevchenko To: Peng Fan , linux-can@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marc Kleine-Budde , Vincent Mailhol , Vinod Koul , Neil Armstrong , Josua Mayer , Ulf Hansson , Andy Shevchenko Subject: [PATCH v3 2/4] phy: phy-can-transceiver: Move OF ID table closer to their user Date: Mon, 4 May 2026 08:58:53 +0200 Message-ID: <20260504070054.29508-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260504070054.29508-1-andriy.shevchenko@linux.intel.com> References: <20260504070054.29508-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" There is no code that uses ID table directly, except the struct device_driver at the end of the file. Hence, move table closer to its user. It's always possible to access them via a pointer. Signed-off-by: Andy Shevchenko --- drivers/phy/phy-can-transceiver.c | 58 +++++++++++++++---------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/drivers/phy/phy-can-transceiver.c b/drivers/phy/phy-can-transc= eiver.c index 80eece74f77d..8411d36b463b 100644 --- a/drivers/phy/phy-can-transceiver.c +++ b/drivers/phy/phy-can-transceiver.c @@ -97,35 +97,6 @@ static const struct can_transceiver_data tja1057_drvdata= =3D { .flags =3D CAN_TRANSCEIVER_SILENT_PRESENT, }; =20 -static const struct of_device_id can_transceiver_phy_ids[] =3D { - { - .compatible =3D "ti,tcan1042", - .data =3D &tcan1042_drvdata - }, - { - .compatible =3D "ti,tcan1043", - .data =3D &tcan1043_drvdata - }, - { - .compatible =3D "nxp,tja1048", - .data =3D &tja1048_drvdata - }, - { - .compatible =3D "nxp,tja1051", - .data =3D &tja1051_drvdata - }, - { - .compatible =3D "nxp,tja1057", - .data =3D &tja1057_drvdata - }, - { - .compatible =3D "nxp,tjr1443", - .data =3D &tcan1043_drvdata - }, - { } -}; -MODULE_DEVICE_TABLE(of, can_transceiver_phy_ids); - static struct phy *can_transceiver_phy_xlate(struct device *dev, const struct of_phandle_args *args) { @@ -229,6 +200,35 @@ static int can_transceiver_phy_probe(struct platform_d= evice *pdev) return PTR_ERR_OR_ZERO(phy_provider); } =20 +static const struct of_device_id can_transceiver_phy_ids[] =3D { + { + .compatible =3D "ti,tcan1042", + .data =3D &tcan1042_drvdata + }, + { + .compatible =3D "ti,tcan1043", + .data =3D &tcan1043_drvdata + }, + { + .compatible =3D "nxp,tja1048", + .data =3D &tja1048_drvdata + }, + { + .compatible =3D "nxp,tja1051", + .data =3D &tja1051_drvdata + }, + { + .compatible =3D "nxp,tja1057", + .data =3D &tja1057_drvdata + }, + { + .compatible =3D "nxp,tjr1443", + .data =3D &tcan1043_drvdata + }, + { } +}; +MODULE_DEVICE_TABLE(of, can_transceiver_phy_ids); + static struct platform_driver can_transceiver_phy_driver =3D { .probe =3D can_transceiver_phy_probe, .driver =3D { --=20 2.50.1 From nobody Sun Jun 14 03:54:23 2026 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FD3D4F5E0; Mon, 4 May 2026 07:01:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777878063; cv=none; b=HM7sPQer+7Xqirp0hlE8DCslF19uqPvcfBGvSMBZsu4/bQZYaCQ3o+cVx1z6GfrpDYCmyTGzeiPz/6Vnf60oGT2WCXA9pRqLBcbxYOiXMmjUuot4/i0zTSTe3ZqYs85PZOFzwphWTEFCQ+0yMkm/pJRtjUlva6jq5bbG3Ipsh6g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777878063; c=relaxed/simple; bh=KxWs9qmEPOEiZlGqedJKlS+its/yHjm1HTMluZhe4cA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hhX/4p3O3KAjmriG0sNME20uIm7f6GC/kkQ7wajt8McXDO4Yk9Q94WkpfmXUjS5AQgx2Bn0s4XWGzO3HEmzj63ay/0TOS3Hj7DLwbAIYU6EqH78Chub550hjAUI0jBoyiHwnLkjGJNWmJ3wLNj0f7kgJwa1Khc7YAIfwHSQnbVc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=mDeV+tbd; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="mDeV+tbd" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1777878062; x=1809414062; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KxWs9qmEPOEiZlGqedJKlS+its/yHjm1HTMluZhe4cA=; b=mDeV+tbdtQIV6TJO7XLr+x2DycTeB9dZxMTazg3L5Y5Av8br0CmMLXRG GnWjdJ/nwWrS/NPMZ8of0+kQjG3/h222NNRCYHkdtD+/0ZS24eGURszir HcDlUglly5eCIe5QFhdDe/OncPAGcWy+Det2fcNuQe4QMUsjxE1DLzAca LWxCITehSwDVSMurIXm4CfYkU1iL9djA4DYeZ4dUBaWWHNrH8qlMCSoue 5ItNcu8GCHdMKRqUsWTEMJQX/GBvknBqTF8oE96AQbl7SwwHqMlVKKE4i S8llv3gkAs5ZSdXXBxahRkbMNeyZJgMfS5UiFYtTEpUKaeTJWFV2PbOof A==; X-CSE-ConnectionGUID: K0YQaQ9URKepIFa0r/mMCA== X-CSE-MsgGUID: 1YO/cASASji+ZanT1rJO5g== X-IronPort-AV: E=McAfee;i="6800,10657,11775"; a="82582122" X-IronPort-AV: E=Sophos;i="6.23,215,1770624000"; d="scan'208";a="82582122" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2026 00:01:01 -0700 X-CSE-ConnectionGUID: lFWrn2JwSOmCqoVduvuxxQ== X-CSE-MsgGUID: tAtiDNAMTouiBbaFYNoCFg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,215,1770624000"; d="scan'208";a="239409099" Received: from black.igk.intel.com ([10.91.253.5]) by orviesa003.jf.intel.com with ESMTP; 04 May 2026 00:00:59 -0700 Received: by black.igk.intel.com (Postfix, from userid 1003) id 3DFE09D; Mon, 04 May 2026 09:00:58 +0200 (CEST) From: Andy Shevchenko To: Peng Fan , linux-can@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marc Kleine-Budde , Vincent Mailhol , Vinod Koul , Neil Armstrong , Josua Mayer , Ulf Hansson , Andy Shevchenko Subject: [PATCH v3 3/4] phy: phy-can-transceiver: Don't check for specific errors when parsing properties Date: Mon, 4 May 2026 08:58:54 +0200 Message-ID: <20260504070054.29508-4-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260504070054.29508-1-andriy.shevchenko@linux.intel.com> References: <20260504070054.29508-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Instead of checking for the specific error codes (that can be considered a layering violation to some extent) check for the property existence first and then either parse it, or apply a default value. With that, return an error when parsing of the existing property fails. Signed-off-by: Andy Shevchenko --- drivers/phy/phy-can-transceiver.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-can-transceiver.c b/drivers/phy/phy-can-transc= eiver.c index 8411d36b463b..238c7963724b 100644 --- a/drivers/phy/phy-can-transceiver.c +++ b/drivers/phy/phy-can-transceiver.c @@ -128,8 +128,9 @@ static int can_transceiver_phy_probe(struct platform_de= vice *pdev) struct gpio_desc *standby_gpio; struct gpio_desc *enable_gpio; struct mux_state *mux_state; - u32 max_bitrate =3D 0; int err, i, num_ch =3D 1; + const char *propname; + u32 max_bitrate; =20 drvdata =3D device_get_match_data(dev); if (drvdata->flags & CAN_TRANSCEIVER_DUAL_CH) @@ -148,8 +149,15 @@ static int can_transceiver_phy_probe(struct platform_d= evice *pdev) =20 priv->mux_state =3D mux_state; =20 - err =3D device_property_read_u32(dev, "max-bitrate", &max_bitrate); - if ((err !=3D -EINVAL) && !max_bitrate) + propname =3D "max-bitrate"; + if (device_property_present(dev, propname)) { + err =3D device_property_read_u32(dev, propname, &max_bitrate); + if (err) + return dev_err_probe(dev, err, "failed to parse %s\n", propname); + } else { + max_bitrate =3D 0; + } + if (max_bitrate =3D=3D 0) dev_warn(dev, "Invalid value for transceiver max bitrate. Ignoring bitra= te limit\n"); =20 for (i =3D 0; i < num_ch; i++) { --=20 2.50.1 From nobody Sun Jun 14 03:54:23 2026 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2595C290DBB; Mon, 4 May 2026 07:01:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777878065; cv=none; b=f5wRHqfLyQn7lmOMyGR5/FDmwq7J1UnNIZfSQmQWsuW/VoU4BhLPseDIcTe+RTjp/0j1xbtNBTNjuOgOl/9JhS3N2dEocVgZfw3I0SlEspXo702XvL4XUfUyaoTBb64KcBpbloiU4Mnv0+zZGf4SJYhsONWySeV+SQ0Ct4J57aA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777878065; c=relaxed/simple; bh=vmfXkYj/cbNHIuC2J2arXddu7xxbUuXL5odOPc/oqgs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=duw1VWUL6CQO3tcLxq+9quNEoochAJol4tZCpKx8xsjjyIJ1+O3nuuvNkfFcmHFiaLhZGjSv9q+JL2mgeEvTD+9uX9XP1eksvPq6ECz+fHQDMcbMsxuEO7y+fTMXmd9Oaj8l2AVGAcknmtkR7N5Jtu4BAg6Hmr7seddzHTuH6D8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=NB9Mm7dc; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="NB9Mm7dc" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1777878065; x=1809414065; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vmfXkYj/cbNHIuC2J2arXddu7xxbUuXL5odOPc/oqgs=; b=NB9Mm7dccwKV7bpXBU0KV6DEzfz3Tk6shEUvzCUOEOP5EpEHmiG9agvN Twt0qnWpViFB8a++4ARj07h9X4+eVZU42zKtKeqebw94HgLVUsRcxOzSK zLg/8vOhjjeg/dB1TAwb5GMCJap+hZ0JieTtWfPpnzWSlu1pOmPKf/Xz6 7+giOuMGp++HXF8ptO/SiG4YwOISLDSEYcWfhduyzhc7IJ1Akg3tSnzl+ jCsRKT5YYRrhKTswycmD4pybMsyRUnHqcZAD1peb1hbFkz0dTHAZFZKFc nR/Qh2lPJX4xX7dY2HKrDHo5iLT7fld3f+7fz4FwQQCL6GiJS7/alv72q Q==; X-CSE-ConnectionGUID: xEwqDW31S/mqX19gxSUYRA== X-CSE-MsgGUID: Vunp3VDfQ9unnkDjLNvwXw== X-IronPort-AV: E=McAfee;i="6800,10657,11775"; a="82344151" X-IronPort-AV: E=Sophos;i="6.23,215,1770624000"; d="scan'208";a="82344151" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2026 00:01:02 -0700 X-CSE-ConnectionGUID: Ji82LhtNSia3TD2t7c3YnQ== X-CSE-MsgGUID: Yva7UI7zQPWcu65RAb89EA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,215,1770624000"; d="scan'208";a="240422853" Received: from black.igk.intel.com ([10.91.253.5]) by fmviesa005.fm.intel.com with ESMTP; 04 May 2026 00:00:59 -0700 Received: by black.igk.intel.com (Postfix, from userid 1003) id 427439E; Mon, 04 May 2026 09:00:58 +0200 (CEST) From: Andy Shevchenko To: Peng Fan , linux-can@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marc Kleine-Budde , Vincent Mailhol , Vinod Koul , Neil Armstrong , Josua Mayer , Ulf Hansson , Andy Shevchenko Subject: [PATCH v3 4/4] phy: phy-can-transceiver: Drop unused include Date: Mon, 4 May 2026 08:58:55 +0200 Message-ID: <20260504070054.29508-5-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260504070054.29508-1-andriy.shevchenko@linux.intel.com> References: <20260504070054.29508-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This file does not use the symbols from the legacy header, so let's drop it. Reviewed-by: Josua Mayer Signed-off-by: Andy Shevchenko --- drivers/phy/phy-can-transceiver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/phy/phy-can-transceiver.c b/drivers/phy/phy-can-transc= eiver.c index 238c7963724b..eeaad41ab924 100644 --- a/drivers/phy/phy-can-transceiver.c +++ b/drivers/phy/phy-can-transceiver.c @@ -5,12 +5,11 @@ * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com * */ +#include #include #include #include #include -#include -#include #include =20 struct can_transceiver_data { --=20 2.50.1