[GIT PULL] regulator fixes for v7.0-rc5

From: Mark Brown

Date: Fri Mar 27 2026 - 15:11:33 EST


The following changes since commit c369299895a591d96745d6492d4888259b004a9e:

Linux 7.0-rc5 (2026-03-22 14:42:17 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-fix-v7.0-rc5

for you to fetch changes up to 8121353a4bf8e38afee26299419a78ec108e14a6:

rust: regulator: do not assume that regulator_get() returns non-null (2026-03-24 13:08:21 +0000)

----------------------------------------------------------------
regulator: Fix for v7.0

A fix from Alice for the rust bindings, they didn't handle the stub
implementation of the C API used when CONFIG_REGULATOR is disabled
leading to undefined behaviour.

----------------------------------------------------------------
Alice Ryhl (1):
rust: regulator: do not assume that regulator_get() returns non-null

rust/kernel/regulator.rs | 33 ++++++++++++++++++---------------
1 file changed, 18 insertions(+), 15 deletions(-)