Unverified Commit 8ff4574c authored by Guilherme Giacomo Simoes's avatar Guilherme Giacomo Simoes Committed by Krzysztof Wilczyński
Browse files

PCI: cpcihp: Remove unused .get_power() and .set_power()

The .get_power() and .set_power() function pointers in struct
cpci_hp_controller_ops were declared but never implemented by any
driver.

Thus, to improve code readability and reduce resource usage,
remove these pointers and the code that has never been used.

Link: https://lore.kernel.org/r/20250217185638.398925-1-trintaeoitogc@gmail.com


Signed-off-by: default avatarGuilherme Giacomo Simoes <trintaeoitogc@gmail.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
[kwilczynski: commit log]
Signed-off-by: default avatarKrzysztof Wilczyński <kwilczynski@kernel.org>
parent 588021b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment