ACPI: processor: perflib: Rearrange unregistration routine
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 5 Dec 2022 19:05:55 +0000 (20:05 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 7 Dec 2022 17:09:39 +0000 (18:09 +0100)
commit5be583c695ed4d94211cc28282a42092b137f988
tree45e734a7fc9bf773e9b2a5a3ab6486dbd8821346
parentd8f4ed072817cce79aef90926a4187954e1548fd
ACPI: processor: perflib: Rearrange unregistration routine

Rearrange acpi_processor_unregister_performance() to follow a more
common error handling pattern and drop a redundant "return" statement
from the end of it.

No expected functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_perflib.c