]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: max20411: show failure on register
authorBen Dooks <ben.dooks@codethink.co.uk>
Thu, 5 Mar 2026 18:46:23 +0000 (18:46 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 5 Mar 2026 19:03:51 +0000 (19:03 +0000)
commitaa3d0c93a333182e887426366a4f3e5f06ee0d83
tree49c11a3ebfe43e279f6ffe88183221530e40c7e3
parent4d4becffe425fd8a4ab6bea5a8cb6d23428bd657
regulator: max20411: show failure on register

It is easy to use %pe to print a error-pointer so add this
to the dev_err() if the devm_regulator_register() fails.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://patch.msgid.link/20260305184623.2603269-1-ben.dooks@codethink.co.uk
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max20411-regulator.c