diff options
| author | Rafael J. Wysocki <[email protected]> | 2024-11-10 13:06:01 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-11-14 11:19:10 +0000 |
| commit | 1c426fd09ca85fb77f120f7933e39eb9df99a39a (patch) | |
| tree | 2ccc275dea73ed24dcee15e0484ec7cb42778abf /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | thermal: testing: Simplify tt_get_tt_zone() (diff) | |
| download | kernel-1c426fd09ca85fb77f120f7933e39eb9df99a39a.tar.gz kernel-1c426fd09ca85fb77f120f7933e39eb9df99a39a.zip | |
thermal: testing: Use DEFINE_FREE() and __free() to simplify code
Use DEFINE_FREE() to define a __free function for dropping thermal
zone template reference counters and use it along with __free() to
simplify code in some places.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ rjw: Add variable initialization to address compiler warning ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions
