]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: pca9450: Correct probed name for PCA9452
authorPeng Fan <peng.fan@nxp.com>
Tue, 10 Mar 2026 04:25:53 +0000 (12:25 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 10 Mar 2026 14:52:42 +0000 (14:52 +0000)
commit21b3fb7dc19caa488d285e3c47999f7f1a179334
tree4faea239bb57bb0687f1ea25a709e781dfddf614
parent5d0efaf47ee90ac60efae790acee3a3ed99ebf80
regulator: pca9450: Correct probed name for PCA9452

An incorrect device name was logged for PCA9452 because the dev_info()
ternary omitted PCA9452 and fell through to "pca9450bc". Introduce a
type_name and set it per device type so the probed message matches the
actual PMIC. While here, make the PCA9451A case explicit.

No functional changes.

Fixes: 017b76fb8e5b6 ("regulator: pca9450: Add PMIC pca9452 support")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://patch.msgid.link/20260310-pca9450-irq-v1-2-36adf52c2c55@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pca9450-regulator.c