Linux Kernel
3.7.1
|
#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 regmap * | regmap_init_spi (struct spi_device *spi, const struct regmap_config *config) |
EXPORT_SYMBOL_GPL (regmap_init_spi) | |
struct regmap * | devm_regmap_init_spi (struct spi_device *spi, const struct regmap_config *config) |
EXPORT_SYMBOL_GPL (devm_regmap_init_spi) | |
MODULE_LICENSE ("GPL") | |
|
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" | ) |
|
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.