Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
regmap-spi.c File Reference
#include <linux/regmap.h>
#include <linux/spi/spi.h>
#include <linux/init.h>
#include <linux/module.h>

Go to the source code of this file.

Functions

struct regmapregmap_init_spi (struct spi_device *spi, const struct regmap_config *config)
 
 EXPORT_SYMBOL_GPL (regmap_init_spi)
 
struct regmapdevm_regmap_init_spi (struct spi_device *spi, const struct regmap_config *config)
 
 EXPORT_SYMBOL_GPL (devm_regmap_init_spi)
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

struct regmap* devm_regmap_init_spi ( struct spi_device spi,
const struct regmap_config *  config 
)
read

devm_regmap_init_spi(): Initialise register map

: Device that will be interacted with : Configuration for register map

The return value will be an ERR_PTR() on error or a valid pointer to a struct regmap. The map will be automatically freed by the device management code.

Definition at line 86 of file regmap-spi.c.

EXPORT_SYMBOL_GPL ( regmap_init_spi  )
EXPORT_SYMBOL_GPL ( devm_regmap_init_spi  )
MODULE_LICENSE ( "GPL"  )
struct regmap* regmap_init_spi ( struct spi_device spi,
const struct regmap_config *  config 
)
read

regmap_init_spi(): Initialise register map

: Device that will be interacted with : Configuration for register map

The return value will be an ERR_PTR() on error or a valid pointer to a struct regmap.

Definition at line 69 of file regmap-spi.c.