Fix the checkpatch warning about multiple blank lines
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
#define MAX_HWI2C_FIFO 16
#define HWI2C_WAIT_TIMEOUT 0xF0000
#define MAX_HWI2C_FIFO 16
#define HWI2C_WAIT_TIMEOUT 0xF0000
int sm750_hw_i2c_init(
unsigned char bus_speed_mode
)
int sm750_hw_i2c_init(
unsigned char bus_speed_mode
)
void sm750_hw_i2c_close(void)
{
unsigned int value;
void sm750_hw_i2c_close(void)
{
unsigned int value;
POKE32(GPIO_MUX, value);
}
POKE32(GPIO_MUX, value);
}
static long hw_i2c_wait_tx_done(void)
{
unsigned int timeout;
static long hw_i2c_wait_tx_done(void)
{
unsigned int timeout;
/*
* This function writes data to the i2c slave device registers.
*
/*
* This function writes data to the i2c slave device registers.
*
/*
* This function reads data from the slave device and stores them
* in the given buffer
/*
* This function reads data from the slave device and stores them
* in the given buffer
/*
* This function reads the slave device's register
*
/*
* This function reads the slave device's register
*
/*
* This function writes a value to the slave device's register
*
/*
* This function writes a value to the slave device's register
*
#include "ddk750_swi2c.h"
#include "ddk750_power.h"
#include "ddk750_swi2c.h"
#include "ddk750_power.h"
/*******************************************************************
* I2C Software Master Driver:
* ===========================
/*******************************************************************
* I2C Software Master Driver:
* ===========================