Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44bbe87e authored by Steven Cole's avatar Steven Cole Committed by Greg Kroah-Hartman
Browse files

[PATCH] Spelling fixes for drivers/i2c.



 Here are some spelling corrections for drivers/i2c.

 occured -> occurred
 intialization -> initialization
 Everytime -> Every time
 transfering -> transferring
 relevent -> relevant
 continous -> continuous
 neccessary -> necessary
 explicitely -> explicitly
 Celcius -> Celsius
 differenciate -> differentiate

Signed-off-by: default avatarSteven Cole <elenstev@mesatop.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ec5ce552
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ static int i2c_debug=0;
/*
 * Generate a start condition on the i2c bus.
 *
 * returns after the start condition has occured
 * returns after the start condition has occurred
 */
static void pca_start(struct i2c_algo_pca_data *adap)
{
@@ -64,7 +64,7 @@ static void pca_start(struct i2c_algo_pca_data *adap)
/*
 * Generate a repeated start condition on the i2c bus 
 *
 * return after the repeated start condition has occured
 * return after the repeated start condition has occurred
 */
static void pca_repeated_start(struct i2c_algo_pca_data *adap)
{
+1 −1
Original line number Diff line number Diff line
@@ -695,7 +695,7 @@ static int __devinit iic_probe(struct ocp_device *ocp){

	dev->irq = iic_force_poll ? -1 : ocp->def->irq;
	if (dev->irq >= 0){
		/* Disable interrupts until we finish intialization,
		/* Disable interrupts until we finish initialization,
		   assumes level-sensitive IRQ setup...
		 */
		iic_interrupt_mode(dev, 0);
+1 −1
Original line number Diff line number Diff line
@@ -534,7 +534,7 @@ static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c, struct i2c_msg *msgs, int
/* s3c24xx_i2c_xfer
 *
 * first port of call from the i2c bus code when an message needs
 * transfering across the i2c bus.
 * transferring across the i2c bus.
*/

static int s3c24xx_i2c_xfer(struct i2c_adapter *adap,
+1 −1
Original line number Diff line number Diff line
@@ -440,7 +440,7 @@ pwm_reg(2);

/*
 * That function checks the cases where the fan reading is not
 * relevent.  It is used to provide 0 as fan reading when the fan is
 * relevant.  It is used to provide 0 as fan reading when the fan is
 * not supposed to run
 */
static int trust_fan_readings(struct adm1031_data *data, int chan)
+2 −2
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ static int ds1621_write_value(struct i2c_client *client, u8 reg, u16 value)
static void ds1621_init_client(struct i2c_client *client)
{
	int reg = ds1621_read_value(client, DS1621_REG_CONF);
	/* switch to continous conversion mode */
	/* switch to continuous conversion mode */
	reg &= ~ DS1621_REG_CONFIG_1SHOT;

	/* setup output polarity */
@@ -303,7 +303,7 @@ static struct ds1621_data *ds1621_update_client(struct device *dev)
		data->temp_max = ds1621_read_value(client,
						    DS1621_REG_TEMP_MAX);

		/* reset alarms if neccessary */
		/* reset alarms if necessary */
		new_conf = data->conf;
		if (data->temp < data->temp_min)
			new_conf &= ~DS1621_ALARM_TEMP_LOW;
Loading