diff options
| author | David E. Box <[email protected]> | 2023-11-29 22:21:18 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2023-12-04 13:53:29 +0000 |
| commit | 6dfc2514acee37e30ce59f1f25b1f8f6aa7c1b08 (patch) | |
| tree | 482bb49495dbcd3f6770097f96035d5ae80bd5a3 /drivers/platform/x86/intel/pmt/class.c | |
| parent | platform/x86/intel/vsec: Use cleanup.h (diff) | |
| download | kernel-6dfc2514acee37e30ce59f1f25b1f8f6aa7c1b08.tar.gz kernel-6dfc2514acee37e30ce59f1f25b1f8f6aa7c1b08.zip | |
platform/x86/intel/vsec: Assign auxdev parent by argument
Instead of checking for a NULL parent argument in intel_vsec_add_aux() and
then assigning it to the probed device, remove this check and just pass the
device in the call. Since this function is exported, return -EINVAL if the
parent is not specified.
Signed-off-by: David E. Box <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[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
