[PATCH 0/6] firmware: raspberrypi: Style cleanups and registration error handling
From: Sander Speetjens
Date: Sat Nov 07 2026 - 11:46:49 EST
This series does minor style cleanups in the Raspberry Pi firmware
driver and fixes error handling when registering the hwmon and clock
platform devices.
The first five patches address checkpatch warnings (missing blank lines
after declarations, incorrect indentation, unnecessary braces, and
undocumented memory barriers).
The final patch checks the return value of
platform_device_register_data() so that an error pointer is no longer
stored in the global rpi_hwmon / rpi_clk variables.
---
Sander Speetjens (6):
firmware: raspberrypi: Add blank line after declaration in response_callback
firmware: raspberrypi: Fix indentation of return statement
firmware: raspberrypi: Add blank line after declaration in probe error path
firmware: raspberrypi: Remove unnecessary braces in transaction helper
firmware: raspberrypi: Document memory barriers in property list path
firmware: raspberrypi: Handle device registration errors
drivers/firmware/raspberrypi.c | 31 +++++++++++++++++++++++--------
1 file changed, 23 insertions(+), 8 deletions(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261107-fix-raspberrypi-firmware-be9c602d6755
Best regards,
--
Sander Speetjens <sander.speetjens@xxxxxxxxx>