diff options
author | 2021-02-09 16:43:28 +0800 | |
---|---|---|
committer | 2021-02-11 20:28:56 -0800 | |
commit | 8c646ef145136a7b1781976c42802391d5b8522b (patch) | |
tree | c5250ef98685eb46105952fc585754bf573b419a /lib/test_bitmap.c | |
parent | hwmon: (amd_energy) Add AMD family 19h model 30h x86 match (diff) | |
download | linux-dev-8c646ef145136a7b1781976c42802391d5b8522b.tar.xz linux-dev-8c646ef145136a7b1781976c42802391d5b8522b.zip |
hwmon: (da9052) Switch to using the new API kobj_to_dev()
Switch to using the new API kobj_to_dev() to fix the below warnning:
/drivers/hwmon/da9052-hwmon.c:302:60-61: WARNING opportunity for
kobj_to_dev().
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Link: https://lore.kernel.org/r/1612860208-51088-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions