[Letux-kernel] about [ 4.861297] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
H. Nikolaus Schaller
hns at goldelico.com
Mon Apr 17 18:46:49 CEST 2017
Hi,
during boot I have seen 3 such messages and did research a little (by adding dump_stack() to drivers/hwmon/hwmon.c to see where it really comes from).
There was a patch for fixing it:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/thermal/thermal_hwmon.c?id=7611fb68062f8d7f416f3272894d1edf7bbff29c
but later it was reverted because it is said to make N900 problems:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/thermal/thermal_hwmon.c?id=3feb479cea37fc623cf4e705631b2e679cbfbd7a
But I haven't seen another fix proposed for it...
And after applying the first patch I haven't seen any problem...
BR,
Nikolaus
More information about the Letux-kernel
mailing list