1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/platform/x86/intel/pmc
Minghao Chi 0eb369bf48 platform/x86/intel: pmc/core: Use kobj_to_dev()
Use kobj_to_dev() instead of open-coding it.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/20220425105525.3515831-1-chi.minghao@zte.com.cn
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2022-04-27 16:50:25 +02:00
..
core.c platform/x86/intel: pmc/core: Use kobj_to_dev() 2022-04-27 16:50:25 +02:00
core.h platform/x86/intel: pmc/core: change pmc_lpm_modes to static 2022-04-27 16:50:25 +02:00
Kconfig platform/x86: intel_pmc_core: Move to intel sub-directory 2021-08-20 20:00:21 +02:00
Makefile platform/x86: intel_pmc_core: Move to intel sub-directory 2021-08-20 20:00:21 +02:00
pltdrv.c platform/x86: intel_pmc_core: fix memleak on registration failure 2021-12-23 19:30:32 +01:00