summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorKurt Borja <kuurtb@gmail.com>2025-01-16 03:27:03 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-01-16 18:26:22 +0300
commitd960f14800b581d79e1c3df4db524d9d4b3aac9a (patch)
tree2dc6fbcbda2e51fa6023fa96e95a889d0907e1bc /rust/helpers/build_bug.c
parentd98bf6a6ed61a8047e199495b0887cce392f8e5b (diff)
downloadlinux-d960f14800b581d79e1c3df4db524d9d4b3aac9a.tar.xz
ACPI: platform_profile: Replace *class_dev member with class_dev
Instead of holding a reference to the class device, embed it the platform_profile_handler. This involves manually creating and registering the device and replacing dev_get_drvdata() with the newly created to_pprof_handler() macro. Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Kurt Borja <kuurtb@gmail.com> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca> Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca> Link: https://lore.kernel.org/r/20250116002721.75592-2-kuurtb@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions