From 2775cbc5afeb63f1ddd8c05df216763450772ad9 Mon Sep 17 00:00:00 2001 From: Alex Elder Date: Fri, 20 Aug 2021 11:01:29 -0500 Subject: [PATCH] net: ipa: rename "ipa_clock.c" Finally, rename "ipa_clock.c" to be "ipa_power.c" and "ipa_clock.h" to be "ipa_power.h". Signed-off-by: Alex Elder Signed-off-by: David S. Miller --- drivers/net/ipa/Makefile | 2 +- drivers/net/ipa/ipa_endpoint.c | 2 +- drivers/net/ipa/ipa_main.c | 2 +- drivers/net/ipa/ipa_modem.c | 2 +- drivers/net/ipa/{ipa_clock.c => ipa_power.c} | 2 +- drivers/net/ipa/{ipa_clock.h => ipa_power.h} | 6 +++--- 6 files changed, 8 insertions(+), 8 deletions(-) rename drivers/net/ipa/{ipa_clock.c => ipa_power.c} (99%) rename drivers/net/ipa/{ipa_clock.h => ipa_power.h} (95%) diff --git a/drivers/net/ipa/Makefile b/drivers/net/ipa/Makefile index 75435d4..bdfb243 100644 --- a/drivers/net/ipa/Makefile +++ b/drivers/net/ipa/Makefile @@ -1,6 +1,6 @@ obj-$(CONFIG_QCOM_IPA) += ipa.o -ipa-y := ipa_main.o ipa_clock.o ipa_reg.o ipa_mem.o \ +ipa-y := ipa_main.o ipa_power.o ipa_reg.o ipa_mem.o \ ipa_table.o ipa_interrupt.o gsi.o gsi_trans.o \ ipa_gsi.o ipa_smp2p.o ipa_uc.o \ ipa_endpoint.o ipa_cmd.o ipa_modem.o \ diff --git a/drivers/net/ipa/ipa_endpoint.c b/drivers/net/ipa/ipa_endpoint.c index f88b43d..5528d97 100644 --- a/drivers/net/ipa/ipa_endpoint.c +++ b/drivers/net/ipa/ipa_endpoint.c @@ -21,7 +21,7 @@ #include "ipa_modem.h" #include "ipa_table.h" #include "ipa_gsi.h" -#include "ipa_clock.h" +#include "ipa_power.h" #define atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0) diff --git a/drivers/net/ipa/ipa_main.c b/drivers/net/ipa/ipa_main.c index c8d9c6d..cdfa98a 100644 --- a/drivers/net/ipa/ipa_main.c +++ b/drivers/net/ipa/ipa_main.c @@ -20,7 +20,7 @@ #include #include "ipa.h" -#include "ipa_clock.h" +#include "ipa_power.h" #include "ipa_data.h" #include "ipa_endpoint.h" #include "ipa_resource.h" diff --git a/drivers/net/ipa/ipa_modem.c b/drivers/net/ipa/ipa_modem.c index 2ed8085..ad116bc 100644 --- a/drivers/net/ipa/ipa_modem.c +++ b/drivers/net/ipa/ipa_modem.c @@ -21,7 +21,7 @@ #include "ipa_smp2p.h" #include "ipa_qmi.h" #include "ipa_uc.h" -#include "ipa_clock.h" +#include "ipa_power.h" #define IPA_NETDEV_NAME "rmnet_ipa%d" #define IPA_NETDEV_TAILROOM 0 /* for padding by mux layer */ diff --git a/drivers/net/ipa/ipa_clock.c b/drivers/net/ipa/ipa_power.c similarity index 99% rename from drivers/net/ipa/ipa_clock.c rename to drivers/net/ipa/ipa_power.c index 3ebc44e..b1c6c0f 100644 --- a/drivers/net/ipa/ipa_clock.c +++ b/drivers/net/ipa/ipa_power.c @@ -12,7 +12,7 @@ #include #include "ipa.h" -#include "ipa_clock.h" +#include "ipa_power.h" #include "ipa_endpoint.h" #include "ipa_modem.h" #include "ipa_data.h" diff --git a/drivers/net/ipa/ipa_clock.h b/drivers/net/ipa/ipa_power.h similarity index 95% rename from drivers/net/ipa/ipa_clock.h rename to drivers/net/ipa/ipa_power.h index 7a6a910..2151805 100644 --- a/drivers/net/ipa/ipa_clock.h +++ b/drivers/net/ipa/ipa_power.h @@ -3,8 +3,8 @@ /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. * Copyright (C) 2018-2020 Linaro Ltd. */ -#ifndef _IPA_CLOCK_H_ -#define _IPA_CLOCK_H_ +#ifndef _IPA_POWER_H_ +#define _IPA_POWER_H_ struct device; @@ -70,4 +70,4 @@ struct ipa_power *ipa_power_init(struct device *dev, */ void ipa_power_exit(struct ipa_power *power); -#endif /* _IPA_CLOCK_H_ */ +#endif /* _IPA_POWER_H_ */ -- 2.7.4