[PATCH v3 0/4] phy: phy-can-transceiver: Ad-hoc cleanups and refactoring

From: Andy Shevchenko

Date: Mon May 04 2026 - 03:01:57 EST


The driver does two things that need to be addressed:
- includes subject to remove gpio.h
- checks for error code from device property APIs when it can be done in
a robust way

This series addresses the above and adds a couple of additional refactoring.

Changelog v3:
- fixed commit message in patch 1 (Josua)
- dropped stray change (Vinod)
- collected tags (Josua)

v2: 20260317203001.2108568-1-andriy.shevchenko@xxxxxxxxxxxxxxx

Changelog v2:
- rebased on top of the latest changes in the driver
- Cc'ed to Ulf and Josua due to above
- elaborated dropping of_node parameter (Vladimir)

v1: 20260219202910.2304440-1-andriy.shevchenko@xxxxxxxxxxxxxxx

Andy Shevchenko (4):
phy: phy-can-transceiver: use device_get_match_data()
phy: phy-can-transceiver: Move OF ID table closer to their user
phy: phy-can-transceiver: Don't check for specific errors when parsing
properties
phy: phy-can-transceiver: Drop unused include

drivers/phy/phy-can-transceiver.c | 83 ++++++++++++++++---------------
1 file changed, 44 insertions(+), 39 deletions(-)

--
2.50.1