mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] firmware: raspberrypi: Handle device registration errors
@ 2026-09-19  3:48 Triet Hoang
  2026-09-19  3:48 ` [PATCH 1/2] " Triet Hoang
  2026-09-19  3:48 ` [PATCH 2/2] firmware: raspberrypi: Clean up local formatting Triet Hoang
  0 siblings, 2 replies; 3+ messages in thread
From: Triet Hoang @ 2026-09-19  3:48 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: Broadcom internal kernel review list, linux-rpi-kernel,
	linux-arm-kernel, linux-kernel, Stefan Wahren, Triet Hoang

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-19  3:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-19  3:48 [PATCH 0/2] firmware: raspberrypi: Handle device registration errors Triet Hoang
2026-09-19  3:48 ` [PATCH 1/2] " Triet Hoang
2026-09-19  3:48 ` [PATCH 2/2] firmware: raspberrypi: Clean up local formatting Triet Hoang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®