Changeset 3530

Show
Ignore:
Timestamp:
02/06/01 21:01:52 (12 years ago)
Author:
frodo
Message:

Mitch Davis' cosmetic changes

Location:
i2c/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/doc/writing-clients

    r3495 r3530  
    3434    /* command        */  &foo_command,   /* May be NULL */ 
    3535    /* inc_use        */  &foo_inc_use,   /* May be NULL */ 
    36     /* dec_use        */  &foo_dev_use    /* May be NULL */ 
     36    /* dec_use        */  &foo_dec_use    /* May be NULL */ 
    3737  } 
    3838  
  • i2c/trunk/kernel/i2c-core.c

    r3513 r3530  
    249249                        if ((res=client->driver->detach_client(client))) { 
    250250                                printk("i2c-core.o: adapter %s not " 
    251                                         "unregisted, because client at " 
     251                                        "unregistered, because client at " 
    252252                                        "address %02x can't be detached. ", 
    253253                                        adap->name, client->addr); 
  • i2c/trunk/kernel/i2c.h

    r3527 r3530  
    203203        unsigned int id; 
    204204 
    205         /* If a adapter algorithm can't to I2C-level access, set master_xfer 
     205        /* If an adapter algorithm can't to I2C-level access, set master_xfer 
    206206           to NULL. If an adapter algorithm can do SMBus access, set  
    207207           smbus_xfer. If set to NULL, the SMBus protocol is simulated 
     
    345345extern int i2c_check_addr (struct i2c_adapter *adapter, int addr); 
    346346 
    347 /* Detect function. It itterates over all possible addresses itself. 
     347/* Detect function. It iterates over all possible addresses itself. 
    348348 * It will only call found_proc if some client is connected at the 
    349349 * specific address (unless a 'force' matched); 
     
    361361 
    362362/* This call returns a unique low identifier for each registered adapter, 
    363  * or -1 if the adapter was not regisitered.  
     363 * or -1 if the adapter was not registered.  
    364364 */ 
    365365extern int i2c_adapter_id(struct i2c_adapter *adap); 
     
    455455 */ 
    456456                                /* -> bit-adapter specific ioctls       */ 
    457 #define I2C_RETRIES     0x0701  /* number times a device adress should  */ 
    458                                 /* be polled when not acknowledging     */ 
     457#define I2C_RETRIES     0x0701  /* number of times a device adress      */ 
     458                                /* should be polled when not            */ 
     459                                /* acknowledging                        */ 
    459460#define I2C_TIMEOUT     0x0702  /* set timeout - call with int          */ 
    460461