diff options
author | Zhi Li <lizhi01@loongson.cn> | 2020-07-09 06:55:21 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-07-16 11:49:55 +0300 |
commit | f59dc5119192be1a1dee826055c23885a7b3d347 (patch) | |
tree | 5c1d86879d2e00589ac75847a3a7de0cb9794c03 /drivers/mfd/arizona.h | |
parent | 17cbb0702e89f36db7608a441e9557088bd790ea (diff) | |
download | linux-f59dc5119192be1a1dee826055c23885a7b3d347.tar.xz |
MIPS: Loongson: Fix boot warning about hwmon_device_register()
Replace hwmon_device_register() with hwmon_device_register_with_info()
to fix the following boot warning :
[ 9.029924] Loongson Hwmon Enter...
[ 9.106850] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
Signed-off-by: Zhi Li <lizhi01@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'drivers/mfd/arizona.h')
0 files changed, 0 insertions, 0 deletions