diff options
| author | Christophe JAILLET <[email protected]> | 2024-05-26 07:59:56 +0000 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-05-28 06:00:14 +0000 |
| commit | 266b44ec9a26dd2ad5d1dfcbb2f7f4e2c10da3fb (patch) | |
| tree | c75e3216a41310d00b51868982499abb71040cc9 /drivers/acpi/cppc_acpi.c | |
| parent | media: intel/ipu6: Fix some redundant resources freeing in ipu6_pci_remove() (diff) | |
| download | kernel-266b44ec9a26dd2ad5d1dfcbb2f7f4e2c10da3fb.tar.gz kernel-266b44ec9a26dd2ad5d1dfcbb2f7f4e2c10da3fb.zip | |
media: intel/ipu6: Move isys_remove() close to isys_probe()
In preparation to fixing a leak in isys_probe(), move isys_remove().
The fix will introduce a new function that will also be called from
isys_remove(). The code needs to be rearranged to avoid a forward
declaration.
Having the .remove function close to the .probe function is also more
standard.
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
