firmware: raspberrypi: Handle device registration errors
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | firmware: raspberrypi: Handle device registration errorsdrivers/ | +44 | 1 reply | |
| 2/2 | firmware: raspberrypi: Clean up local formattingdrivers/ | +2 | 5 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Stefan Wahren |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] firmware: raspberrypi: Handle device registration errors
Hi,
This series improves error handling when registering the Raspberry Pi firmware hwmon and clock platform devices.
The first patch checks errors returned by platform_device_register_data() and unwinds previously allocated resources when registration fails. It preserves the existing behavior of skipping hwmon registration when the RPI_FIRMWARE_GET_THROTTLED request fails.
The second patch fixes formatting issues reported by checkpatch.
Triet Hoang (2):
firmware: raspberrypi: Handle device registration errors
firmware: raspberrypi: Clean up local formatting
drivers/firmware/raspberrypi.c | 60 ++++++++++++++++++++++++++-------- 1 file changed, 46 insertions(+), 14 deletions(-)
Signature · 1 line
2.53.0