soc: qcom: geni-se: Move qcom-geni-se.h to linux/soc/qcom/geni-se.h

Message ID 20230203210133.3552796-1-quic_eberman@quicinc.com
State New
Headers
Series soc: qcom: geni-se: Move qcom-geni-se.h to linux/soc/qcom/geni-se.h |

Commit Message

Elliot Berman Feb. 3, 2023, 9:01 p.m. UTC
  Move include/linux/qcom-geni-se.h to include/linux/soc/qcom/geni-se.h.
This removes 1 of a few remaining Qualcomm-specific headers into a more
approciate subdirectory under include/.

Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
---
 drivers/i2c/busses/i2c-qcom-geni.c                   | 2 +-
 drivers/soc/qcom/qcom-geni-se.c                      | 2 +-
 drivers/spi/spi-geni-qcom.c                          | 2 +-
 drivers/tty/serial/qcom_geni_serial.c                | 2 +-
 include/linux/{qcom-geni-se.h => soc/qcom/geni-se.h} | 0
 5 files changed, 4 insertions(+), 4 deletions(-)
 rename include/linux/{qcom-geni-se.h => soc/qcom/geni-se.h} (100%)


base-commit: 3866989ec2c319341e2cf69ec6116269b634a271
  

Comments

Guru Das Srinagesh Feb. 3, 2023, 9:56 p.m. UTC | #1
On Feb 03 2023 13:01, Elliot Berman wrote:
> Move include/linux/qcom-geni-se.h to include/linux/soc/qcom/geni-se.h.
> This removes 1 of a few remaining Qualcomm-specific headers into a more
> approciate subdirectory under include/.
> 
> Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>

Reviewed-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
  
Wolfram Sang Feb. 4, 2023, 7:04 a.m. UTC | #2
On Fri, Feb 03, 2023 at 01:01:32PM -0800, Elliot Berman wrote:
> Move include/linux/qcom-geni-se.h to include/linux/soc/qcom/geni-se.h.
> This removes 1 of a few remaining Qualcomm-specific headers into a more
> approciate subdirectory under include/.
> 
> Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>

Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C
  
Greg KH Feb. 4, 2023, 7:51 a.m. UTC | #3
On Fri, Feb 03, 2023 at 01:01:32PM -0800, Elliot Berman wrote:
> Move include/linux/qcom-geni-se.h to include/linux/soc/qcom/geni-se.h.
> This removes 1 of a few remaining Qualcomm-specific headers into a more
> approciate subdirectory under include/.
> 
> Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
> ---
>  drivers/i2c/busses/i2c-qcom-geni.c                   | 2 +-
>  drivers/soc/qcom/qcom-geni-se.c                      | 2 +-
>  drivers/spi/spi-geni-qcom.c                          | 2 +-
>  drivers/tty/serial/qcom_geni_serial.c                | 2 +-
>  include/linux/{qcom-geni-se.h => soc/qcom/geni-se.h} | 0
>  5 files changed, 4 insertions(+), 4 deletions(-)
>  rename include/linux/{qcom-geni-se.h => soc/qcom/geni-se.h} (100%)

Who do you want to take this patch?  Through what tree?  I can take it
through the tty tree if no one objects, otherwise if someone else is:

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  
Elliot Berman Feb. 6, 2023, 6:17 p.m. UTC | #4
On 2/3/2023 1:01 PM, Elliot Berman wrote:
> Move include/linux/qcom-geni-se.h to include/linux/soc/qcom/geni-se.h.
> This removes 1 of a few remaining Qualcomm-specific headers into a more
> approciate subdirectory under include/.

Need to s/approciate/appropriate/ (Thanks Mukesh!)

> 
> Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
> ---
>   drivers/i2c/busses/i2c-qcom-geni.c                   | 2 +-
>   drivers/soc/qcom/qcom-geni-se.c                      | 2 +-
>   drivers/spi/spi-geni-qcom.c                          | 2 +-
>   drivers/tty/serial/qcom_geni_serial.c                | 2 +-
>   include/linux/{qcom-geni-se.h => soc/qcom/geni-se.h} | 0
>   5 files changed, 4 insertions(+), 4 deletions(-)
>   rename include/linux/{qcom-geni-se.h => soc/qcom/geni-se.h} (100%)
> 
> diff --git a/drivers/i2c/busses/i2c-qcom-geni.c b/drivers/i2c/busses/i2c-qcom-geni.c
> index fd70794bfcee..80d586b0be7a 100644
> --- a/drivers/i2c/busses/i2c-qcom-geni.c
> +++ b/drivers/i2c/busses/i2c-qcom-geni.c
> @@ -14,7 +14,7 @@
>   #include <linux/of.h>
>   #include <linux/platform_device.h>
>   #include <linux/pm_runtime.h>
> -#include <linux/qcom-geni-se.h>
> +#include <linux/soc/qcom/geni-se.h>
>   #include <linux/spinlock.h>
>   
>   #define SE_I2C_TX_TRANS_LEN		0x26c
> diff --git a/drivers/soc/qcom/qcom-geni-se.c b/drivers/soc/qcom/qcom-geni-se.c
> index f0475b93ca73..795a2e1d59b3 100644
> --- a/drivers/soc/qcom/qcom-geni-se.c
> +++ b/drivers/soc/qcom/qcom-geni-se.c
> @@ -14,7 +14,7 @@
>   #include <linux/of_platform.h>
>   #include <linux/pinctrl/consumer.h>
>   #include <linux/platform_device.h>
> -#include <linux/qcom-geni-se.h>
> +#include <linux/soc/qcom/geni-se.h>
>   
>   /**
>    * DOC: Overview
> diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom.c
> index 4e83cc5b445d..e05e40a49294 100644
> --- a/drivers/spi/spi-geni-qcom.c
> +++ b/drivers/spi/spi-geni-qcom.c
> @@ -12,7 +12,7 @@
>   #include <linux/platform_device.h>
>   #include <linux/pm_opp.h>
>   #include <linux/pm_runtime.h>
> -#include <linux/qcom-geni-se.h>
> +#include <linux/soc/qcom/geni-se.h>
>   #include <linux/spi/spi.h>
>   #include <linux/spinlock.h>
>   
> diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c
> index b487823f0e61..52f3a0184577 100644
> --- a/drivers/tty/serial/qcom_geni_serial.c
> +++ b/drivers/tty/serial/qcom_geni_serial.c
> @@ -16,7 +16,7 @@
>   #include <linux/platform_device.h>
>   #include <linux/pm_runtime.h>
>   #include <linux/pm_wakeirq.h>
> -#include <linux/qcom-geni-se.h>
> +#include <linux/soc/qcom/geni-se.h>
>   #include <linux/serial.h>
>   #include <linux/serial_core.h>
>   #include <linux/slab.h>
> diff --git a/include/linux/qcom-geni-se.h b/include/linux/soc/qcom/geni-se.h
> similarity index 100%
> rename from include/linux/qcom-geni-se.h
> rename to include/linux/soc/qcom/geni-se.h
> 
> base-commit: 3866989ec2c319341e2cf69ec6116269b634a271
  
Bjorn Andersson Feb. 9, 2023, 3:14 a.m. UTC | #5
On Sat, Feb 04, 2023 at 08:51:59AM +0100, Greg Kroah-Hartman wrote:
> On Fri, Feb 03, 2023 at 01:01:32PM -0800, Elliot Berman wrote:
> > Move include/linux/qcom-geni-se.h to include/linux/soc/qcom/geni-se.h.
> > This removes 1 of a few remaining Qualcomm-specific headers into a more
> > approciate subdirectory under include/.
> > 
> > Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
> > ---
> >  drivers/i2c/busses/i2c-qcom-geni.c                   | 2 +-
> >  drivers/soc/qcom/qcom-geni-se.c                      | 2 +-
> >  drivers/spi/spi-geni-qcom.c                          | 2 +-
> >  drivers/tty/serial/qcom_geni_serial.c                | 2 +-
> >  include/linux/{qcom-geni-se.h => soc/qcom/geni-se.h} | 0
> >  5 files changed, 4 insertions(+), 4 deletions(-)
> >  rename include/linux/{qcom-geni-se.h => soc/qcom/geni-se.h} (100%)
> 
> Who do you want to take this patch?  Through what tree?  I can take it
> through the tty tree if no one objects, otherwise if someone else is:
> 
> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

I'm happy with that, please go ahead Greg.

Acked-by: Bjorn Andersson <andersson@kernel.org>

Regards,
Bjorn
  
Greg KH Feb. 9, 2023, 12:27 p.m. UTC | #6
On Wed, Feb 08, 2023 at 07:14:40PM -0800, Bjorn Andersson wrote:
> On Sat, Feb 04, 2023 at 08:51:59AM +0100, Greg Kroah-Hartman wrote:
> > On Fri, Feb 03, 2023 at 01:01:32PM -0800, Elliot Berman wrote:
> > > Move include/linux/qcom-geni-se.h to include/linux/soc/qcom/geni-se.h.
> > > This removes 1 of a few remaining Qualcomm-specific headers into a more
> > > approciate subdirectory under include/.
> > > 
> > > Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
> > > ---
> > >  drivers/i2c/busses/i2c-qcom-geni.c                   | 2 +-
> > >  drivers/soc/qcom/qcom-geni-se.c                      | 2 +-
> > >  drivers/spi/spi-geni-qcom.c                          | 2 +-
> > >  drivers/tty/serial/qcom_geni_serial.c                | 2 +-
> > >  include/linux/{qcom-geni-se.h => soc/qcom/geni-se.h} | 0
> > >  5 files changed, 4 insertions(+), 4 deletions(-)
> > >  rename include/linux/{qcom-geni-se.h => soc/qcom/geni-se.h} (100%)
> > 
> > Who do you want to take this patch?  Through what tree?  I can take it
> > through the tty tree if no one objects, otherwise if someone else is:
> > 
> > Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
> I'm happy with that, please go ahead Greg.
> 
> Acked-by: Bjorn Andersson <andersson@kernel.org>

Great, now queued up, thanks.

greg k-h
  

Patch

diff --git a/drivers/i2c/busses/i2c-qcom-geni.c b/drivers/i2c/busses/i2c-qcom-geni.c
index fd70794bfcee..80d586b0be7a 100644
--- a/drivers/i2c/busses/i2c-qcom-geni.c
+++ b/drivers/i2c/busses/i2c-qcom-geni.c
@@ -14,7 +14,7 @@ 
 #include <linux/of.h>
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
-#include <linux/qcom-geni-se.h>
+#include <linux/soc/qcom/geni-se.h>
 #include <linux/spinlock.h>
 
 #define SE_I2C_TX_TRANS_LEN		0x26c
diff --git a/drivers/soc/qcom/qcom-geni-se.c b/drivers/soc/qcom/qcom-geni-se.c
index f0475b93ca73..795a2e1d59b3 100644
--- a/drivers/soc/qcom/qcom-geni-se.c
+++ b/drivers/soc/qcom/qcom-geni-se.c
@@ -14,7 +14,7 @@ 
 #include <linux/of_platform.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
-#include <linux/qcom-geni-se.h>
+#include <linux/soc/qcom/geni-se.h>
 
 /**
  * DOC: Overview
diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom.c
index 4e83cc5b445d..e05e40a49294 100644
--- a/drivers/spi/spi-geni-qcom.c
+++ b/drivers/spi/spi-geni-qcom.c
@@ -12,7 +12,7 @@ 
 #include <linux/platform_device.h>
 #include <linux/pm_opp.h>
 #include <linux/pm_runtime.h>
-#include <linux/qcom-geni-se.h>
+#include <linux/soc/qcom/geni-se.h>
 #include <linux/spi/spi.h>
 #include <linux/spinlock.h>
 
diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c
index b487823f0e61..52f3a0184577 100644
--- a/drivers/tty/serial/qcom_geni_serial.c
+++ b/drivers/tty/serial/qcom_geni_serial.c
@@ -16,7 +16,7 @@ 
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
 #include <linux/pm_wakeirq.h>
-#include <linux/qcom-geni-se.h>
+#include <linux/soc/qcom/geni-se.h>
 #include <linux/serial.h>
 #include <linux/serial_core.h>
 #include <linux/slab.h>
diff --git a/include/linux/qcom-geni-se.h b/include/linux/soc/qcom/geni-se.h
similarity index 100%
rename from include/linux/qcom-geni-se.h
rename to include/linux/soc/qcom/geni-se.h