summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-01-04 12:15:37 +0100
committerWolfram Sang <wsa@the-dreams.de>2016-01-04 20:23:33 +0100
commit995e68a5ee6126a23dbfc1097b523c08a6b8bb65 (patch)
tree17c5bad8617da6fcd459f0859bad8db63843f10a /drivers/i2c
parenti2c: st: use to_platform_device() (diff)
downloadlinux-995e68a5ee6126a23dbfc1097b523c08a6b8bb65.tar.xz
linux-995e68a5ee6126a23dbfc1097b523c08a6b8bb65.zip
i2c: imx: Remove unneeded comments
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> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-imx.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index dcea8d276c22..8b68dbf4786c 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;