参照元†
- struct i2c_client *i2c
- const struct regmap_config *config
- struct lock_class_key *lock_key
- const char *lock_name
返り値†
struct regmap *__devm_regmap_init_i2c(struct i2c_client *i2c,
const struct regmap_config *config,
struct lock_class_key *lock_key,
const char *lock_name)
{
const struct regmap_bus *bus = regmap_get_i2c_bus(i2c, config);
if (IS_ERR(bus))
return ERR_CAST(bus);
return __devm_regmap_init(&i2c->dev, bus, &i2c->dev, config,
lock_key, lock_name);
}
EXPORT_SYMBOL_GPL(__devm_regmap_init_i2c);
- GPL ライセンスのモジュールにのみシンボルを公開する。
コメント†