i2c_new_device man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

I2C_NEW_DEVICE(9)	    I2C and SMBus Subsystem	     I2C_NEW_DEVICE(9)

NAME
       i2c_new_device - instantiate an i2c device

SYNOPSIS
       struct i2c_client * i2c_new_device(struct i2c_adapter * adap,
					  struct i2c_board_info const * info);

ARGUMENTS
       adap
	   the adapter managing the device

       info
	   describes one I2C device; bus_num is ignored

CONTEXT
       can sleep

DESCRIPTION
       Create an i2c device. Binding is handled through driver model
       probe/remove methods. A driver may be bound to this device when we
       return from this function, or any later moment (e.g. maybe hotplugging
       will load the driver module). This call is not appropriate for use by
       mainboard initialization logic, which usually runs during an
       arch_initcall long before any i2c_adapter could exist.

       This returns the new i2c client, which may be saved for later use with
       i2c_unregister_device; or NULL to indicate an error.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		     I2C_NEW_DEVICE(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net