phy: phy-can-transceiver: Ad-hoc cleanups and refactoring
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest6 patches 1 replyApplied
- v45 patches 1 replySuperseded
- v34 patches 4 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 12 replies | Superseded | |
| v1 | 4 patches | 6 replies | Superseded |
Changes in v5 from the cover letter
- fixed typo due to rebasing of patch 2 (Sashiko)
- added patch 5 to slightly improve maintainability
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | phy: phy-can-transceiver: Check driver match and driver data against NULLdrivers/ | +3 | 0 replies | |
| 2/6 | phy: phy-can-transceiver: use device_get_match_data()drivers/ | +4 | 0 replies | |
| 3/6 | phy: phy-can-transceiver: Move OF ID table closer to their userdrivers/ | +29 | 0 replies | |
| 4/6 | phy: phy-can-transceiver: Don't check for specific errors when parsing propertiesdrivers/ | +13 | 0 replies | |
| 5/6 | phy: phy-can-transceiver: Decouple assignment and definition in probedrivers/ | +3 | 0 replies | |
| 6/6 | phy: phy-can-transceiver: Drop unused includedrivers/ | +1 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Josua Mayer |
|---|---|
| 1/6 | |
| 2/6 | R-b |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/6] phy: phy-can-transceiver: Ad-hoc cleanups and refactoring
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.
On top of that it fixes potential NULL pointer dereference when driver_override is in use.
Changelog v5:
- fixed typo due to rebasing of patch 2 (Sashiko)
- added patch 5 to slightly improve maintainability
Changelog v4:
- prepended the series with match and driver data check (Sashiko, Vinod)
- made the max_bitrate==0 warning only when property is present (Sashiko, Vinod)
- rebased the rest accordingly
Changelog v3:
- fixed commit message in patch 1 (Josua)
- dropped stray change (Vinod)
- collected tags (Josua)
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)
*** BLURB HERE ***
Andy Shevchenko (6):
phy: phy-can-transceiver: Check driver match and driver data against
NULL
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: Decouple assignment and definition in probe
phy: phy-can-transceiver: Drop unused include
drivers/phy/phy-can-transceiver.c | 93 +++++++++++++++++-------------- 1 file changed, 52 insertions(+), 41 deletions(-)
Signature · 1 line
2.50.1