aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2023-11-03 18:25:24 +0000
committerHans de Goede <[email protected]>2023-11-20 12:20:33 +0000
commit7275bf3e09578e1761157e7683f2e898c5c235a6 (patch)
tree804cd2f8f81770027d7633d3e2824b9b089a1b70 /drivers/platform/x86/intel/pmt/class.c
parentplatform/x86: wmi: Add wmidev_block_set() (diff)
downloadkernel-7275bf3e09578e1761157e7683f2e898c5c235a6.tar.gz
kernel-7275bf3e09578e1761157e7683f2e898c5c235a6.zip
platform/x86: wmi: Add to_wmi_device() helper macro
Add a helper macro for WMI drivers to cast a device to the corresponding WMI device. This should replace some boilerplate code. Signed-off-by: Armin Wolf <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions