diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-10-21 11:45:17 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-11-04 14:34:23 -0500 |
commit | 79cf014bf3b0a72d1d4b4c0e24c325c386fa5479 (patch) | |
tree | 858d23b9e46f2b076174101587616b047f35ee59 /lib/test_fortify/write_overflow-strcpy.c | |
parent | 76afbdc76b801f459452fa71d3ea00b7f8afd0fc (diff) |
PCI: kirin: Move the power-off code to a common routine
Instead of having two copies of the same logic, place the power-off logic
in a separate function.
No functional changes.
Link: https://lore.kernel.org/r/64f6e8da3e5fff38b6c8fcb208ace46efe6555bb.1634812676.git.mchehab+huawei@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Xiaowei Song <songxiaowei@hisilicon.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions