Thread (6 messages) 6 messages, 3 authors, 5d ago
COOLING5d

[PATCH 0/2] firmware: raspberrypi: Handle device registration errors

From: Triet Hoang <hidden>
Date: 2026-09-19 03:49:07
Also in: lkml

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(-)

-- 
2.53.0

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help