Commit 21b3fb7
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: 017b76f ("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>1 parent 5d0efaf commit 21b3fb7
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1293 | 1293 | | |
1294 | 1294 | | |
1295 | 1295 | | |
| 1296 | + | |
1296 | 1297 | | |
1297 | 1298 | | |
1298 | 1299 | | |
| |||
1303 | 1304 | | |
1304 | 1305 | | |
1305 | 1306 | | |
| 1307 | + | |
1306 | 1308 | | |
1307 | 1309 | | |
1308 | 1310 | | |
1309 | 1311 | | |
| 1312 | + | |
1310 | 1313 | | |
1311 | 1314 | | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
1312 | 1319 | | |
1313 | 1320 | | |
1314 | 1321 | | |
| 1322 | + | |
1315 | 1323 | | |
1316 | 1324 | | |
1317 | 1325 | | |
| |||
1413 | 1421 | | |
1414 | 1422 | | |
1415 | 1423 | | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
| 1424 | + | |
1419 | 1425 | | |
1420 | 1426 | | |
1421 | 1427 | | |
| |||
0 commit comments