diff mbox series

[V19,1/7] i2c: tegra: sort all the include headers alphabetically

Message ID 1549996081-6858-1-git-send-email-skomatineni@nvidia.com
State Superseded
Headers show
Series [V19,1/7] i2c: tegra: sort all the include headers alphabetically | expand

Commit Message

Sowjanya Komatineni Feb. 12, 2019, 6:27 p.m. UTC
This patch sorts all the include headers alphabetically for the
I2C Tegra driver.

Acked-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
---
 [V9/V10/V11/V12/V13/V14/V15/V16/V17/V18/V19] : Rebased to 5.0-rc4
 [V3/V4/V5/V7/V8] : Removed unsued headers in tegra I2C
 [V2] 		  : Added this in V2 to sort the headers in tegra I2C



 drivers/i2c/busses/i2c-tegra.c | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

Comments

Sowjanya Komatineni Feb. 12, 2019, 6:32 p.m. UTC | #1
Please ignore all Patch V19 series. Will resend.

Dmitry/Thierry
I am using below stable tags in commit message based on V18 feedback to get patch applied to old kernels
Git send email considers whole text after Cc as email address and reports badly formatted address.

Is there any format that I should follow to specify kernel versions along with stable tag?

Cc: stable@vger.kernel.org # 4.4+
Cc: stable@vger.kernel.org # 4.20+

Thanks
Sowjanya
Dmitry Osipenko Feb. 12, 2019, 6:42 p.m. UTC | #2
12.02.2019 21:32, Sowjanya Komatineni пишет:
> Please ignore all Patch V19 series. Will resend.
> 
> Dmitry/Thierry
> I am using below stable tags in commit message based on V18 feedback to get patch applied to old kernels
> Git send email considers whole text after Cc as email address and reports badly formatted address.
> 
> Is there any format that I should follow to specify kernel versions along with stable tag?
> 
> Cc: stable@vger.kernel.org # 4.4+
> Cc: stable@vger.kernel.org # 4.20+

You could ask send-email to not auto-include CC's from the commit message: 

git send-email --suppress-cc=all

Also see https://git-scm.com/docs/git-send-email#git-send-email---suppress-ccltcategorygt for more options.
Sowjanya Komatineni Feb. 12, 2019, 6:45 p.m. UTC | #3
> 12.02.2019 21:32, Sowjanya Komatineni пишет:
> > Please ignore all Patch V19 series. Will resend.
> > 
> > Dmitry/Thierry
> > I am using below stable tags in commit message based on V18 feedback 
> > to get patch applied to old kernels Git send email considers whole text after Cc as email address and reports badly formatted address.
> > 
> > Is there any format that I should follow to specify kernel versions along with stable tag?
> > 
> > Cc: stable@vger.kernel.org # 4.4+
> > Cc: stable@vger.kernel.org # 4.20+
>
> You could ask send-email to not auto-include CC's from the commit message: 
>
> git send-email --suppress-cc=all
>
> Also see https://git-scm.com/docs/git-send-email#git-send-email---suppress-ccltcategorygt for more options.

Thanks Dmitry. Will go thru...
diff mbox series

Patch

diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index c77adbbea0c7..79c6aa87499b 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -6,24 +6,21 @@ 
  * Author: Colin Cross <ccross@android.com>
  */
 
-#include <linux/kernel.h>
-#include <linux/init.h>
-#include <linux/platform_device.h>
 #include <linux/clk.h>
+#include <linux/delay.h>
 #include <linux/err.h>
 #include <linux/i2c.h>
-#include <linux/io.h>
+#include <linux/init.h>
 #include <linux/interrupt.h>
-#include <linux/delay.h>
-#include <linux/slab.h>
-#include <linux/of_device.h>
+#include <linux/io.h>
+#include <linux/iopoll.h>
+#include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/reset.h>
+#include <linux/of_device.h>
 #include <linux/pinctrl/consumer.h>
+#include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
-#include <linux/iopoll.h>
-
-#include <asm/unaligned.h>
+#include <linux/reset.h>
 
 #define TEGRA_I2C_TIMEOUT (msecs_to_jiffies(1000))
 #define BYTES_PER_FIFO_WORD 4