]> git.hungrycats.org Git - linux/commit
hwmon: (gpd-fan): upgrade log level from warn to err for platform device creation...
authorPei Xiao <xiaopei01@kylinos.cn>
Wed, 10 Jun 2026 01:49:11 +0000 (09:49 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 10 Jun 2026 13:14:20 +0000 (06:14 -0700)
commit046e6e1a023437bf80358cecba37ea58ebe89e94
tree60de3e6d20dd26522fa505fc9fe53ad8d428cd63
parenta8a444917fe5d30a9787f41cc179f55fc5f559d3
hwmon: (gpd-fan): upgrade log level from warn to err for platform device creation failure

When platform_create_bundle() fails, the error is fatal and prevents the
driver from loading. Use pr_err() instead of pr_warn() to clearly indicate
a critical failure.

Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Link: https://lore.kernel.org/r/aeb2eaa6df90178b18057a8022a0eccde7bbc82c.1781055639.git.xiaopei01@kylinos.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/gpd-fan.c