* [PATCH v2] i2c: imx: Remove unneeded comments
@ 2016-01-04 11:15 Fabio Estevam
2016-01-04 19:23 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2016-01-04 11:15 UTC (permalink / raw)
To: wsa; +Cc: linux-i2c, Fabio Estevam
These multi-lines comments do not follow the standard kernel coding
style. In fact, they are not useful comments, so get rid of them.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
Changes since v1:
- Rebased against latest tree
drivers/i2c/busses/i2c-imx.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index dcea8d2..8b68dbf 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -29,9 +29,6 @@
*
*/
-/** Includes *******************************************************************
-*******************************************************************************/
-
#include <linux/clk.h>
#include <linux/completion.h>
#include <linux/delay.h>
@@ -57,9 +54,6 @@
#include <linux/sched.h>
#include <linux/slab.h>
-/** Defines ********************************************************************
-*******************************************************************************/
-
/* This will be the driver name the kernel reports */
#define DRIVER_NAME "imx-i2c"
@@ -123,9 +117,6 @@
#define I2C_PM_TIMEOUT 10 /* ms */
-/** Variables ******************************************************************
-*******************************************************************************/
-
/*
* sorted list of clock divider, register value pairs
* taken from table 26-5, p.26-9, Freescale i.MX
@@ -419,9 +410,6 @@ static void i2c_imx_dma_free(struct imx_i2c_struct *i2c_imx)
dma->chan_using = NULL;
}
-/** Functions for IMX I2C adapter driver ***************************************
-*******************************************************************************/
-
static int i2c_imx_bus_busy(struct imx_i2c_struct *i2c_imx, int for_busy)
{
unsigned long orig_jiffies = jiffies;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] i2c: imx: Remove unneeded comments
2016-01-04 11:15 [PATCH v2] i2c: imx: Remove unneeded comments Fabio Estevam
@ 2016-01-04 19:23 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2016-01-04 19:23 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-i2c
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
On Mon, Jan 04, 2016 at 09:15:37AM -0200, Fabio Estevam wrote:
> These multi-lines comments do not follow the standard kernel coding
> style. In fact, they are not useful comments, so get rid of them.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Applied to for-next, thanks!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-04 19:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-04 11:15 [PATCH v2] i2c: imx: Remove unneeded comments Fabio Estevam
2016-01-04 19:23 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).